home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 September / macformat-041.iso / mac / Demos / Quay2 Multimedia / Training Library < prev   
MacBinary  |  1996-07-12  |  147.0 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Training Library

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Sat Aug 26 15:52:15 1995, modified Fri Jul 12 07:28:08 1996, creator HyperCard, type HyperCard stack, 31584 bytes "Training Library" , at 0x7be0 118663 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 54 72 61 69 6e 69 | 6e 67 20 4c 69 62 72 61 |..Traini|ng Libra|
|00000010| 72 79 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ry......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 7b 60 00 | 01 cf 87 ac 65 2b ef ae |.....{`.|....e+..|
|00000060| 0b e7 48 00 00 08 00 00 | 00 00 00 00 00 00 00 00 |..H.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0a a3 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 00 7b 60 | 00 00 70 00 00 00 00 00 |......{`|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a f4 00 00 00 01 |........|........|
|000000b0| 00 00 0b b8 00 00 0e cf | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |. ......|........|
|000000f0| dd fb bb 77 00 00 00 00 | 00 9e 00 c0 01 8e 02 60 |...w....|.......`|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d b3 00 00 0c 9f | 00 f0 01 a0 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |-- .....|........|
|00000690| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006a0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006b0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006c0| a5 a5 a5 20 2d 2d 0d 2d | 2d 20 53 63 72 69 70 74 |... --.-|- Script|
|000006d0| 20 20 20 20 3a 20 54 72 | 61 69 6e 69 6e 67 20 53 | : Tr|aining S|
|000006e0| 74 61 63 6b 27 73 20 2d | 20 43 6f 6d 6d 6f 6e 20 |tack's -| Common |
|000006f0| 53 63 72 69 70 74 20 4c | 69 62 72 61 72 79 0d 2d |Script L|ibrary.-|
|00000700| 2d 20 41 75 74 68 6f 72 | 20 20 20 20 3a 20 53 61 |- Author| : Sa|
|00000710| 6d 20 44 65 61 6e 65 0d | 2d 2d 20 56 65 72 73 69 |m Deane.|-- Versi|
|00000720| 6f 6e 20 20 20 3a 20 31 | 2e 34 0d 0d 2d 2d 20 44 |on : 1|.4..-- D|
|00000730| 65 73 63 72 69 70 74 69 | 6f 6e 3a 0d 2d 2d 20 54 |escripti|on:.-- T|
|00000740| 68 69 73 20 73 63 72 69 | 70 74 20 63 6f 6e 74 61 |his scri|pt conta|
|00000750| 69 6e 73 20 61 6c 6c 20 | 74 68 65 20 75 74 69 6c |ins all |the util|
|00000760| 69 74 79 20 72 6f 75 74 | 69 6e 65 73 20 63 6f 6d |ity rout|ines com|
|00000770| 6d 6f 6e 20 74 6f 0d 2d | 2d 20 65 76 65 72 79 20 |mon to.-|- every |
|00000780| 6f 6e 65 20 6f 66 20 74 | 68 65 20 4d 61 78 69 73 |one of t|he Maxis|
|00000790| 20 54 72 61 69 6e 69 6e | 67 20 53 74 61 63 6b 73 | Trainin|g Stacks|
|000007a0| 0d 2d 2d 0d 2d 2d 20 43 | 6f 70 79 72 69 67 68 74 |.--.-- C|opyright|
|000007b0| 20 3a 20 28 43 29 20 31 | 39 39 34 2c 20 31 39 39 | : (C) 1|994, 199|
|000007c0| 35 2c 20 31 39 39 36 20 | 55 4c 54 52 41 4c 41 42 |5, 1996 |ULTRALAB|
|000007d0| 2e 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |. All Ri|ghts Res|
|000007e0| 65 72 76 65 64 2e 0d 2d | 2d 0d 2d 2d 20 c6 20 43 |erved..-|-.-- . C|
|000007f0| 68 61 6e 67 65 73 20 74 | 6f 20 31 2e 34 20 76 65 |hanges t|o 1.4 ve|
|00000800| 72 73 69 6f 6e 2e 0d 2d | 2d 20 20 20 a5 20 46 69 |rsion..-|- . Fi|
|00000810| 78 65 64 20 69 6e 64 65 | 78 20 68 69 6c 69 74 69 |xed inde|x hiliti|
|00000820| 6e 67 0d 2d 2d 20 20 20 | a5 20 41 64 64 65 64 20 |ng.-- |. Added |
|00000830| 73 6f 6d 65 20 6c 69 6e | 65 73 20 74 6f 20 69 6e |some lin|es to in|
|00000840| 64 65 78 20 62 61 63 6b | 67 72 6f 75 6e 64 20 73 |dex back|ground s|
|00000850| 63 72 69 70 74 0d 2d 2d | 20 20 20 a5 20 50 72 65 |cript.--| . Pre|
|00000860| 76 20 26 20 4e 65 78 74 | 20 62 75 74 74 6f 6e 73 |v & Next| buttons|
|00000870| 20 6e 65 65 64 20 74 6f | 20 62 65 20 6e 61 6d 65 | need to| be name|
|00000880| 64 20 22 50 72 65 76 22 | 20 61 6e 64 20 22 4e 65 |d "Prev"| and "Ne|
|00000890| 78 74 22 21 21 0d 2d 2d | 20 20 20 a5 20 53 74 6f |xt"!!.--| . Sto|
|000008a0| 70 70 65 64 20 74 69 63 | 6b 20 68 69 6c 69 74 69 |pped tic|k hiliti|
|000008b0| 6e 67 20 69 66 20 74 69 | 63 6b 73 20 61 72 65 20 |ng if ti|cks are |
|000008c0| 68 69 64 64 65 6e 0d 2d | 2d 0d 2d 2d 20 a5 a5 a5 |hidden.-|-.-- ...|
|000008d0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000008e0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000008f0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|00000900| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 20 2d 2d |........|..... --|
|00000910| 0d 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 20 64 69 |..on arr|owKey di|
|00000920| 72 0d 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |r.if the| optionK|
|00000930| 65 79 20 69 73 20 64 6f | 77 6e 20 74 68 65 6e 0d |ey is do|wn then.|
|00000940| 70 61 73 73 20 61 72 72 | 6f 77 4b 65 79 0d 65 6c |pass arr|owKey.el|
|00000950| 73 65 20 69 66 20 64 69 | 72 20 69 73 20 22 6c 65 |se if di|r is "le|
|00000960| 66 74 22 20 74 68 65 6e | 0d 67 6f 20 70 72 65 76 |ft" then|.go prev|
|00000970| 20 63 61 72 64 20 6f 66 | 20 74 68 69 73 20 62 67 | card of| this bg|
|00000980| 0d 65 6c 73 65 20 69 66 | 20 64 69 72 20 69 73 20 |.else if| dir is |
|00000990| 22 72 69 67 68 74 22 20 | 74 68 65 6e 0d 67 6f 20 |"right" |then.go |
|000009a0| 6e 65 78 74 20 63 61 72 | 64 20 6f 66 20 74 68 69 |next car|d of thi|
|000009b0| 73 20 62 67 0d 65 6c 73 | 65 0d 70 61 73 73 20 61 |s bg.els|e.pass a|
|000009c0| 72 72 6f 77 4b 65 79 0d | 65 6e 64 20 69 66 0d 65 |rrowKey.|end if.e|
|000009d0| 6e 64 20 61 72 72 6f 77 | 4b 65 79 0d 0d 2d 2d 0d |nd arrow|Key..--.|
|000009e0| 2d 2d 20 43 6f 6c 6f 72 | 20 54 6f 6f 6c 73 20 68 |-- Color| Tools h|
|000009f0| 61 63 6b 73 0d 2d 2d 0d | 0d 6f 6e 20 20 41 43 5f |acks.--.|.on AC_|
|00000a00| 54 72 61 6e 73 69 74 69 | 6f 6e 73 0d 65 6e 64 20 |Transiti|ons.end |
|00000a10| 41 43 5f 54 72 61 6e 73 | 69 74 69 6f 6e 73 0d 0d |AC_Trans|itions..|
|00000a20| 2d 2d 0d 0d 6f 6e 20 20 | 41 43 5f 53 65 74 54 72 |--..on |AC_SetTr|
|00000a30| 61 6e 73 69 74 69 6f 6e | 73 0d 65 6e 64 20 41 43 |ansition|s.end AC|
|00000a40| 5f 53 65 74 54 72 61 6e | 73 69 74 69 6f 6e 73 0d |_SetTran|sitions.|
|00000a50| 0d 0d 2d 2d 0d 2d 2d 20 | 4d 65 6e 75 20 43 6f 64 |..--.-- |Menu Cod|
|00000a60| 65 0d 2d 2d 0d 0d 6f 6e | 20 53 65 74 75 70 4d 65 |e.--..on| SetupMe|
|00000a70| 6e 75 73 0d 72 65 73 65 | 74 20 6d 65 6e 75 62 61 |nus.rese|t menuba|
|00000a80| 72 0d 53 65 74 75 70 4d | 65 6e 75 20 22 46 69 6c |r.SetupM|enu "Fil|
|00000a90| 65 22 2c 22 43 6c 6f 73 | 65 20 57 69 6e 64 6f 77 |e","Clos|e Window|
|00000aa0| 2c 2d 2c 51 75 69 74 22 | 2c 22 43 6c 6f 73 65 43 |,-,Quit"|,"CloseC|
|00000ab0| 6d 64 2c 2d 2c 51 75 69 | 74 43 6d 64 22 2c 22 31 |md,-,Qui|tCmd","1|
|00000ac0| 20 57 2c 33 20 51 22 0d | 53 65 74 75 70 4d 65 6e | W,3 Q".|SetupMen|
|00000ad0| 75 20 22 45 64 69 74 22 | 2c 22 55 6e 64 6f 2c 2d |u "Edit"|,"Undo,-|
|00000ae0| 2c 43 75 74 2c 43 6f 70 | 79 2c 50 61 73 74 65 2c |,Cut,Cop|y,Paste,|
|00000af0| 2d 2c 46 69 6e 64 2e 2e | 2e 22 2c 22 2c 2c 2c 2c |-,Find..|.",",,,,|
|00000b00| 2c 2c 2c 22 2c 22 31 20 | 5a 2c 33 20 58 2c 34 20 |,,,","1 |Z,3 X,4 |
|00000b10| 43 2c 35 20 56 2c 37 20 | 46 22 0d 70 75 74 20 22 |C,5 V,7 |F".put "|
|00000b20| 47 6f 2c 54 6f 6f 6c 73 | 2c 4f 62 6a 65 63 74 73 |Go,Tools|,Objects|
|00000b30| 2c 46 6f 6e 74 2c 53 74 | 79 6c 65 22 20 69 6e 74 |,Font,St|yle" int|
|00000b40| 6f 20 6b 69 6c 6c 45 6d | 41 6c 6c 0d 72 65 70 65 |o killEm|All.repe|
|00000b50| 61 74 20 77 69 74 68 20 | 6e 20 3d 20 31 20 74 6f |at with |n = 1 to|
|00000b60| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00000b70| 74 65 6d 73 20 69 6e 20 | 6b 69 6c 6c 45 6d 41 6c |tems in |killEmAl|
|00000b80| 6c 0d 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 28 69 |l.delete| menu (i|
|00000b90| 74 65 6d 20 6e 20 6f 66 | 20 6b 69 6c 6c 45 6d 41 |tem n of| killEmA|
|00000ba0| 6c 6c 29 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d |ll).end |repeat..|
|00000bb0| 70 75 74 20 22 41 62 6f | 75 74 20 54 72 61 69 6e |put "Abo|ut Train|
|00000bc0| 69 6e 67 20 4f 6e 20 43 | 44 2e 2e 2e 22 20 69 6e |ing On C|D..." in|
|00000bd0| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 31 20 6f 66 |to menuI|tem 1 of|
|00000be0| 20 6d 65 6e 75 20 22 41 | 70 70 6c 65 22 20 77 69 | menu "A|pple" wi|
|00000bf0| 74 68 20 6d 65 6e 75 4d | 73 67 20 22 44 6f 41 62 |th menuM|sg "DoAb|
|00000c00| 6f 75 74 22 0d 73 68 6f | 77 20 6d 65 6e 75 62 61 |out".sho|w menuba|
|00000c10| 72 0d 65 6e 64 20 53 65 | 74 75 70 4d 65 6e 75 73 |r.end Se|tupMenus|
|00000c20| 0d 0d 2d 2d 0d 0d 6f 6e | 20 51 75 69 74 43 6d 64 |..--..on| QuitCmd|
|00000c30| 0d 73 65 6e 64 20 22 64 | 6f 6d 65 6e 75 20 71 75 |.send "d|omenu qu|
|00000c40| 69 74 20 68 79 70 65 72 | 63 61 72 64 22 20 74 6f |it hyper|card" to|
|00000c50| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 51 | hyperca|rd.end Q|
|00000c60| 75 69 74 43 6d 64 0d 0d | 2d 2d 0d 0d 6f 6e 20 43 |uitCmd..|--..on C|
|00000c70| 6c 6f 73 65 43 6d 64 0d | 69 66 20 74 68 65 20 6f |loseCmd.|if the o|
|00000c80| 77 6e 65 72 20 6f 66 20 | 77 69 6e 64 6f 77 20 31 |wner of |window 1|
|00000c90| 20 69 73 20 22 51 54 4d | 6f 76 69 65 22 20 74 68 | is "QTM|ovie" th|
|00000ca0| 65 6e 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en.close| window |
|00000cb0| 31 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 43 6c 6f |1.end if|.end Clo|
|00000cc0| 73 65 43 6d 64 0d 0d 2d | 2d 0d 0d 6f 6e 20 53 65 |seCmd..-|-..on Se|
|00000cd0| 74 75 70 4d 65 6e 75 20 | 6d 4e 61 6d 65 2c 6d 49 |tupMenu |mName,mI|
|00000ce0| 74 65 6d 73 2c 6d 43 6d | 64 73 2c 6d 4b 65 79 73 |tems,mCm|ds,mKeys|
|00000cf0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 74 |.if ther|e is not|
|00000d00| 20 61 20 6d 65 6e 75 20 | 6d 4e 61 6d 65 20 74 68 | a menu |mName th|
|00000d10| 65 6e 0d 63 72 65 61 74 | 65 20 6d 65 6e 75 20 6d |en.creat|e menu m|
|00000d20| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |Name.end| if.put |
|00000d30| 6d 49 74 65 6d 73 20 69 | 6e 74 6f 20 6d 65 6e 75 |mItems i|nto menu|
|00000d40| 20 6d 4e 61 6d 65 20 77 | 69 74 68 20 6d 65 6e 75 | mName w|ith menu|
|00000d50| 4d 65 73 73 61 67 65 73 | 20 6d 43 6d 64 73 0d 72 |Messages| mCmds.r|
|00000d60| 65 70 65 61 74 20 77 69 | 74 68 20 6e 20 3d 20 31 |epeat wi|th n = 1|
|00000d70| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00000d80| 66 20 69 74 65 6d 73 20 | 69 6e 20 6d 4b 65 79 73 |f items |in mKeys|
|00000d90| 0d 67 65 74 20 69 74 65 | 6d 20 6e 20 6f 66 20 6d |.get ite|m n of m|
|00000da0| 4b 65 79 73 0d 70 75 74 | 20 77 6f 72 64 20 31 20 |Keys.put| word 1 |
|00000db0| 6f 66 20 69 74 20 69 6e | 74 6f 20 69 4e 75 6d 0d |of it in|to iNum.|
|00000dc0| 70 75 74 20 77 6f 72 64 | 20 32 20 6f 66 20 69 74 |put word| 2 of it|
|00000dd0| 20 69 6e 74 6f 20 69 4c | 65 74 74 65 72 0d 73 65 | into iL|etter.se|
|00000de0| 74 20 74 68 65 20 63 6d | 64 43 68 61 72 20 6f 66 |t the cm|dChar of|
|00000df0| 20 6d 65 6e 75 49 74 65 | 6d 20 69 4e 75 6d 20 6f | menuIte|m iNum o|
|00000e00| 66 20 6d 65 6e 75 20 6d | 4e 61 6d 65 20 74 6f 20 |f menu m|Name to |
|00000e10| 69 4c 65 74 74 65 72 0d | 65 6e 64 20 72 65 70 65 |iLetter.|end repe|
|00000e20| 61 74 0d 65 6e 64 20 53 | 65 74 75 70 4d 65 6e 75 |at.end S|etupMenu|
|00000e30| 0d 0d 2d 2d 0d 0d 6f 6e | 20 44 6f 41 62 6f 75 74 |..--..on| DoAbout|
|00000e40| 0d 67 6c 6f 62 61 6c 20 | 67 41 62 6f 75 74 56 65 |.global |gAboutVe|
|00000e50| 72 73 69 6f 6e 0d 0d 70 | 75 74 20 22 64 65 66 61 |rsion..p|ut "defa|
|00000e60| 75 6c 74 2c 2c 2c 2c 2c | 66 72 6f 6d 20 67 41 62 |ult,,,,,|from gAb|
|00000e70| 6f 75 74 56 65 72 73 69 | 6f 6e 22 20 69 6e 74 6f |outVersi|on" into|
|00000e80| 20 6d 6f 64 69 66 69 65 | 72 73 0d 69 66 20 74 68 | modifie|rs.if th|
|00000e90| 65 20 6f 70 74 69 6f 6e | 4b 65 79 20 69 73 20 64 |e option|Key is d|
|00000ea0| 6f 77 6e 20 74 68 65 6e | 0d 4c 6f 63 6b 53 74 75 |own then|.LockStu|
|00000eb0| 66 66 0d 70 75 73 68 20 | 74 68 69 73 20 63 61 72 |ff.push |this car|
|00000ec0| 64 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |d.if the|re is a |
|00000ed0| 73 74 61 63 6b 20 22 54 | 72 61 69 6e 69 6e 67 20 |stack "T|raining |
|00000ee0| 4c 69 62 72 61 72 79 20 | 50 61 74 63 68 22 20 74 |Library |Patch" t|
|00000ef0| 68 65 6e 0d 67 6f 20 73 | 74 61 63 6b 20 22 54 72 |hen.go s|tack "Tr|
|00000f00| 61 69 6e 69 6e 67 20 4c | 69 62 72 61 72 79 22 0d |aining L|ibrary".|
|00000f10| 65 6c 73 65 0d 67 6f 20 | 73 74 61 63 6b 20 22 54 |else.go |stack "T|
|00000f20| 72 61 69 6e 69 6e 67 20 | 4c 69 62 72 61 72 79 20 |raining |Library |
|00000f30| 50 61 74 63 68 22 0d 65 | 6e 64 20 69 66 0d 0d 67 |Patch".e|nd if..g|
|00000f40| 65 74 20 56 65 72 73 69 | 6f 6e 28 22 6e 75 6d 62 |et Versi|on("numb|
|00000f50| 65 72 73 22 2c 22 73 74 | 61 63 6b 22 29 0d 70 6f |ers","st|ack").po|
|00000f60| 70 20 63 61 72 64 0d 55 | 6e 6c 6f 63 6b 53 74 75 |p card.U|nlockStu|
|00000f70| 66 66 0d 65 6c 73 65 0d | 67 65 74 20 56 65 72 73 |ff.else.|get Vers|
|00000f80| 69 6f 6e 28 22 6e 75 6d | 62 65 72 73 22 2c 22 73 |ion("num|bers","s|
|00000f90| 74 61 63 6b 22 29 0d 65 | 6e 64 20 69 66 0d 0d 70 |tack").e|nd if..p|
|00000fa0| 75 74 20 22 76 22 20 26 | 20 69 74 20 69 6e 74 6f |ut "v" &| it into|
|00000fb0| 20 67 41 62 6f 75 74 56 | 65 72 73 69 6f 6e 0d 0d | gAboutV|ersion..|
|00000fc0| 44 69 61 6c 6f 67 20 22 | 6d 6f 64 61 6c 22 2c 22 |Dialog "|modal","|
|00000fd0| 61 62 6f 75 74 22 2c 6d | 6f 64 69 66 69 65 72 73 |about",m|odifiers|
|00000fe0| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00000ff0| 0d 69 66 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |.if item| 2 of it|
|00001000| 20 74 68 65 6e 0d 4f 70 | 65 6e 4d 6f 76 69 65 20 | then.Op|enMovie |
|00001010| 22 43 6f 6e 74 65 6e 74 | 73 22 2c 22 43 6f 6e 74 |"Content|s","Cont|
|00001020| 65 6e 74 73 20 4d 6f 76 | 69 65 73 22 2c 22 41 62 |ents Mov|ies","Ab|
|00001030| 6f 75 74 20 51 75 61 79 | 20 32 22 0d 65 6c 73 65 |out Quay| 2".else|
|00001040| 20 69 66 20 69 74 65 6d | 20 33 20 6f 66 20 69 74 | if item| 3 of it|
|00001050| 20 74 68 65 6e 0d 4f 70 | 65 6e 4d 6f 76 69 65 20 | then.Op|enMovie |
|00001060| 22 43 6f 6e 74 65 6e 74 | 73 22 2c 22 43 6f 6e 74 |"Content|s","Cont|
|00001070| 65 6e 74 73 20 4d 6f 76 | 69 65 73 22 2c 22 41 62 |ents Mov|ies","Ab|
|00001080| 6f 75 74 20 55 4c 54 52 | 41 4c 41 42 22 0d 65 6e |out ULTR|ALAB".en|
|00001090| 64 20 69 66 0d 65 6e 64 | 20 44 6f 41 62 6f 75 74 |d if.end| DoAbout|
|000010a0| 0d 0d 2d 2d 0d 2d 2d 20 | 4e 61 76 69 67 61 74 69 |..--.-- |Navigati|
|000010b0| 6f 6e 20 52 6f 75 74 69 | 6e 65 73 0d 2d 2d 0d 0d |on Routi|nes.--..|
|000010c0| 6f 6e 20 4e 61 76 46 69 | 6e 64 0d 2d 2d 20 68 61 |on NavFi|nd.-- ha|
|000010d0| 6e 64 6c 65 20 61 20 63 | 6c 69 63 6b 20 6f 6e 20 |ndle a c|lick on |
|000010e0| 74 68 65 20 66 69 6e 64 | 20 62 75 74 74 6f 6e 0d |the find| button.|
|000010f0| 67 6c 6f 62 61 6c 20 4c | 61 73 74 46 69 6e 64 0d |global L|astFind.|
|00001100| 0d 70 75 74 20 28 74 68 | 65 20 6f 70 74 69 6f 6e |.put (th|e option|
|00001110| 4b 65 79 20 69 73 20 64 | 6f 77 6e 29 20 69 6e 74 |Key is d|own) int|
|00001120| 6f 20 74 68 69 73 42 67 | 4f 6e 6c 79 0d 0d 69 66 |o thisBg|Only..if|
|00001130| 20 74 68 69 73 42 67 4f | 6e 6c 79 20 74 68 65 6e | thisBgO|nly then|
|00001140| 0d 70 75 74 20 22 57 6f | 72 64 73 20 74 6f 20 6c |.put "Wo|rds to l|
|00001150| 6f 6f 6b 20 66 6f 72 20 | 28 69 6e 20 74 68 69 73 |ook for |(in this|
|00001160| 20 73 65 63 74 69 6f 6e | 20 6f 6e 6c 79 29 3f 22 | section| only)?"|
|00001170| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 65 6c 73 | into pr|ompt.els|
|00001180| 65 0d 70 75 74 20 22 57 | 6f 72 64 73 20 74 6f 20 |e.put "W|ords to |
|00001190| 6c 6f 6f 6b 20 66 6f 72 | 3f 22 20 69 6e 74 6f 20 |look for|?" into |
|000011a0| 70 72 6f 6d 70 74 0d 65 | 6e 64 20 69 66 0d 0d 61 |prompt.e|nd if..a|
|000011b0| 73 6b 20 70 72 6f 6d 70 | 74 20 77 69 74 68 20 4c |sk promp|t with L|
|000011c0| 61 73 74 46 69 6e 64 0d | 69 66 20 69 74 20 69 73 |astFind.|if it is|
|000011d0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|000011e0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 4c 61 73 74 |put it i|nto Last|
|000011f0| 46 69 6e 64 0d 44 6f 46 | 69 6e 64 20 74 68 69 73 |Find.DoF|ind this|
|00001200| 42 67 4f 6e 6c 79 0d 65 | 6e 64 20 69 66 0d 65 6e |BgOnly.e|nd if.en|
|00001210| 64 20 4e 61 76 46 69 6e | 64 0d 0d 2d 2d 0d 0d 6f |d NavFin|d..--..o|
|00001220| 6e 20 47 6f 4e 61 6d 65 | 64 43 61 72 64 20 63 4e |n GoName|dCard cN|
|00001230| 61 6d 65 2c 62 4e 61 6d | 65 0d 2d 2d 20 67 6f 20 |ame,bNam|e.-- go |
|00001240| 74 6f 20 61 20 6e 61 6d | 65 64 20 63 61 72 64 2c |to a nam|ed card,|
|00001250| 20 6f 6e 20 61 20 6e 61 | 6d 65 64 20 62 61 63 6b | on a na|med back|
|00001260| 67 72 6f 75 6e 64 0d 0d | 67 6f 20 63 61 72 64 20 |ground..|go card |
|00001270| 63 4e 61 6d 65 20 6f 66 | 20 62 67 20 62 4e 61 6d |cName of| bg bNam|
|00001280| 65 0d 65 6e 64 20 47 6f | 4e 61 6d 65 64 43 61 72 |e.end Go|NamedCar|
|00001290| 64 0d 0d 2d 2d 0d 0d 6f | 6e 20 47 6f 43 61 72 64 |d..--..o|n GoCard|
|000012a0| 49 64 20 63 69 64 0d 67 | 6f 20 63 61 72 64 20 69 |Id cid.g|o card i|
|000012b0| 64 20 63 69 64 0d 65 6e | 64 20 47 6f 43 61 72 64 |d cid.en|d GoCard|
|000012c0| 49 64 0d 0d 2d 2d 0d 0d | 6f 6e 20 47 6f 49 6e 64 |Id..--..|on GoInd|
|000012d0| 65 78 20 73 65 63 74 69 | 6f 6e 0d 73 65 74 20 63 |ex secti|on.set c|
|000012e0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 67 |ursor to| watch.g|
|000012f0| 6f 20 63 61 72 64 20 31 | 20 6f 66 20 62 67 20 73 |o card 1| of bg s|
|00001300| 65 63 74 69 6f 6e 0d 65 | 6e 64 20 47 6f 49 6e 64 |ection.e|nd GoInd|
|00001310| 65 78 0d 0d 0d 0d 2d 2d | 0d 2d 2d 20 53 65 61 72 |ex....--|.-- Sear|
|00001320| 63 68 69 6e 67 20 52 6f | 75 74 69 6e 65 73 0d 2d |ching Ro|utines.-|
|00001330| 2d 0d 0d 6f 6e 20 44 6f | 46 69 6e 64 20 74 68 69 |-..on Do|Find thi|
|00001340| 73 42 67 4f 6e 6c 79 0d | 2d 2d 20 64 6f 20 61 20 |sBgOnly.|-- do a |
|00001350| 73 65 61 72 63 68 0d 2d | 2d 20 74 68 65 20 73 74 |search.-|- the st|
|00001360| 72 69 6e 67 20 74 6f 20 | 73 65 61 72 63 68 20 66 |ring to |search f|
|00001370| 6f 72 20 69 73 20 69 6e | 20 74 68 65 20 67 6c 6f |or is in| the glo|
|00001380| 62 61 6c 20 4c 61 73 74 | 46 69 6e 64 0d 2d 2d 20 |bal Last|Find.-- |
|00001390| 69 66 20 74 68 69 73 42 | 67 4f 6e 6c 79 20 69 73 |if thisB|gOnly is|
|000013a0| 20 74 72 75 65 2c 20 73 | 65 61 72 63 68 20 6f 6e | true, s|earch on|
|000013b0| 6c 79 20 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |ly in th|e curren|
|000013c0| 74 20 62 61 63 6b 67 72 | 6f 75 6e 64 0d 0d 67 6c |t backgr|ound..gl|
|000013d0| 6f 62 61 6c 20 4c 61 73 | 74 46 69 6e 64 2c 20 46 |obal Las|tFind, F|
|000013e0| 6f 75 6e 64 43 6f 6d 6d | 61 6e 64 73 2c 20 46 6f |oundComm|ands, Fo|
|000013f0| 75 6e 64 4e 61 6d 65 73 | 0d 0d 50 72 65 70 61 72 |undNames|..Prepar|
|00001400| 65 46 6f 72 46 69 6e 64 | 20 74 68 69 73 42 67 4f |eForFind| thisBgO|
|00001410| 6e 6c 79 0d 0d 2d 2d 20 | 73 65 61 72 63 68 20 66 |nly..-- |search f|
|00001420| 6f 72 20 74 68 65 20 66 | 69 72 73 74 20 74 69 6d |or the f|irst tim|
|00001430| 65 0d 66 69 6e 64 20 63 | 68 61 72 73 20 4c 61 73 |e.find c|hars Las|
|00001440| 74 46 69 6e 64 0d 69 66 | 20 74 68 65 20 72 65 73 |tFind.if| the res|
|00001450| 75 6c 74 20 69 73 20 22 | 6e 6f 74 20 66 6f 75 6e |ult is "|not foun|
|00001460| 64 22 20 74 68 65 6e 0d | 2d 2d 20 6e 6f 74 68 69 |d" then.|-- nothi|
|00001470| 6e 67 20 77 61 73 20 66 | 6f 75 6e 64 2c 20 73 6f |ng was f|ound, so|
|00001480| 20 64 69 73 70 6c 61 79 | 20 64 69 61 6c 6f 67 20 | display| dialog |
|00001490| 62 6f 78 0d 44 69 73 70 | 6c 61 79 4e 6f 74 46 6f |box.Disp|layNotFo|
|000014a0| 75 6e 64 44 69 61 6c 6f | 67 20 74 68 69 73 42 67 |undDialo|g thisBg|
|000014b0| 4f 6e 6c 79 0d 0d 65 6c | 73 65 0d 2d 2d 20 73 6f |Only..el|se.-- so|
|000014c0| 6d 65 74 68 69 6e 67 20 | 77 61 73 20 66 6f 75 6e |mething |was foun|
|000014d0| 64 0d 70 75 74 20 74 68 | 65 20 66 6f 75 6e 64 43 |d.put th|e foundC|
|000014e0| 68 75 6e 6b 20 69 6e 74 | 6f 20 66 43 68 75 6e 6b |hunk int|o fChunk|
|000014f0| 0d 70 75 74 20 66 43 68 | 75 6e 6b 20 69 6e 74 6f |.put fCh|unk into|
|00001500| 20 66 69 72 73 74 46 69 | 6e 64 0d 0d 2d 2d 20 72 | firstFi|nd..-- r|
|00001510| 65 70 65 61 74 20 74 68 | 65 20 73 65 61 72 63 68 |epeat th|e search|
|00001520| 20 75 6e 74 69 6c 20 61 | 6c 6c 20 6f 63 63 75 72 | until a|ll occur|
|00001530| 65 6e 63 65 73 20 68 61 | 76 65 20 62 65 65 6e 20 |ences ha|ve been |
|00001540| 66 6f 75 6e 64 0d 72 65 | 70 65 61 74 0d 73 65 74 |found.re|peat.set|
|00001550| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00001560| 0d 2d 2d 20 61 64 64 20 | 74 68 65 20 6c 61 73 74 |.-- add |the last|
|00001570| 20 66 69 6e 64 20 74 6f | 20 74 68 65 20 6c 69 73 | find to| the lis|
|00001580| 74 20 6f 66 20 66 69 6e | 64 73 0d 41 64 64 54 6f |t of fin|ds.AddTo|
|00001590| 46 6f 75 6e 64 43 6f 6d | 6d 61 6e 64 73 20 66 43 |FoundCom|mands fC|
|000015a0| 68 75 6e 6b 0d 0d 2d 2d | 20 73 65 61 72 63 68 20 |hunk..--| search |
|000015b0| 61 67 61 69 6e 0d 66 69 | 6e 64 20 63 68 61 72 73 |again.fi|nd chars|
|000015c0| 20 4c 61 73 74 46 69 6e | 64 0d 70 75 74 20 74 68 | LastFin|d.put th|
|000015d0| 65 20 66 6f 75 6e 64 43 | 68 75 6e 6b 20 69 6e 74 |e foundC|hunk int|
|000015e0| 6f 20 66 43 68 75 6e 6b | 0d 0d 2d 2d 20 69 66 20 |o fChunk|..-- if |
|000015f0| 77 65 20 61 72 65 20 62 | 61 63 6b 20 74 6f 20 77 |we are b|ack to w|
|00001600| 68 65 72 65 20 77 65 20 | 73 74 61 72 74 65 64 2c |here we |started,|
|00001610| 20 77 65 20 68 61 76 65 | 20 66 69 6e 69 73 68 65 | we have| finishe|
|00001620| 64 20 73 65 61 72 63 68 | 69 6e 67 0d 69 66 20 66 |d search|ing.if f|
|00001630| 43 68 75 6e 6b 20 69 73 | 20 66 69 72 73 74 46 69 |Chunk is| firstFi|
|00001640| 6e 64 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 |nd then |exit rep|
|00001650| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d |eat.end |repeat..|
|00001660| 2d 2d 20 64 69 73 70 6c | 61 79 20 72 65 73 75 6c |-- displ|ay resul|
|00001670| 74 73 20 6f 66 20 74 68 | 65 20 73 65 61 72 63 68 |ts of th|e search|
|00001680| 0d 44 69 73 70 6c 61 79 | 46 69 6e 64 52 65 73 75 |.Display|FindResu|
|00001690| 6c 74 73 0d 65 6e 64 20 | 69 66 0d 0d 43 6c 65 61 |lts.end |if..Clea|
|000016a0| 6e 75 70 41 66 74 65 72 | 46 69 6e 64 0d 65 6e 64 |nupAfter|Find.end|
|000016b0| 20 44 6f 46 69 6e 64 0d | 0d 2d 2d 0d 0d 6f 6e 20 | DoFind.|.--..on |
|000016c0| 50 72 65 70 61 72 65 46 | 6f 72 46 69 6e 64 20 74 |PrepareF|orFind t|
|000016d0| 68 69 73 42 67 4f 6e 6c | 79 0d 2d 2d 20 6c 6f 63 |hisBgOnl|y.-- loc|
|000016e0| 6b 20 73 63 72 65 65 6e | 2c 20 72 65 6d 65 6d 62 |k screen|, rememb|
|000016f0| 65 72 20 77 68 65 72 65 | 20 77 65 20 61 72 65 2c |er where| we are,|
|00001700| 20 61 6e 64 20 73 65 74 | 20 74 68 69 6e 67 73 20 | and set| things |
|00001710| 75 70 0d 0d 67 6c 6f 62 | 61 6c 20 46 6f 75 6e 64 |up..glob|al Found|
|00001720| 43 6f 6d 6d 61 6e 64 73 | 2c 20 46 6f 75 6e 64 4e |Commands|, FoundN|
|00001730| 61 6d 65 73 0d 0d 4c 6f | 63 6b 53 74 75 66 66 0d |ames..Lo|ckStuff.|
|00001740| 53 65 74 75 70 42 67 73 | 46 6f 72 46 69 6e 64 20 |SetupBgs|ForFind |
|00001750| 74 68 69 73 42 67 4f 6e | 6c 79 0d 70 75 73 68 20 |thisBgOn|ly.push |
|00001760| 74 68 69 73 20 63 61 72 | 64 0d 0d 2d 2d 20 65 6d |this car|d..-- em|
|00001770| 70 74 79 20 6f 75 74 20 | 6c 61 73 74 20 73 65 61 |pty out |last sea|
|00001780| 72 63 68 20 72 65 73 75 | 6c 74 73 0d 70 75 74 20 |rch resu|lts.put |
|00001790| 65 6d 70 74 79 20 69 6e | 74 6f 20 46 6f 75 6e 64 |empty in|to Found|
|000017a0| 43 6f 6d 6d 61 6e 64 73 | 0d 70 75 74 20 65 6d 70 |Commands|.put emp|
|000017b0| 74 79 20 69 6e 74 6f 20 | 66 6f 75 6e 64 4e 61 6d |ty into |foundNam|
|000017c0| 65 73 0d 65 6e 64 20 50 | 72 65 70 61 72 65 46 6f |es.end P|repareFo|
|000017d0| 72 46 69 6e 64 0d 0d 2d | 2d 0d 0d 6f 6e 20 43 6c |rFind..-|-..on Cl|
|000017e0| 65 61 6e 75 70 41 66 74 | 65 72 46 69 6e 64 0d 2d |eanupAft|erFind.-|
|000017f0| 2d 20 72 65 74 75 72 6e | 20 74 6f 20 74 68 65 20 |- return| to the |
|00001800| 63 61 72 64 20 77 65 20 | 73 74 61 72 74 65 64 20 |card we |started |
|00001810| 6f 6e 0d 0d 70 6f 70 20 | 63 61 72 64 0d 75 6e 6c |on..pop |card.unl|
|00001820| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 73 65 74 20 74 |ock scre|en.set t|
|00001830| 68 65 20 6c 6f 63 6b 52 | 65 63 65 6e 74 20 74 6f |he lockR|ecent to|
|00001840| 20 66 61 6c 73 65 0d 73 | 65 74 20 74 68 65 20 6c | false.s|et the l|
|00001850| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 66 |ockMessa|ges to f|
|00001860| 61 6c 73 65 0d 65 6e 64 | 20 43 6c 65 61 6e 75 70 |alse.end| Cleanup|
|00001870| 41 66 74 65 72 46 69 6e | 64 0d 0d 2d 2d 0d 0d 6f |AfterFin|d..--..o|
|00001880| 6e 20 53 65 74 75 70 42 | 67 73 46 6f 72 46 69 6e |n SetupB|gsForFin|
|00001890| 64 20 74 68 69 73 42 67 | 4f 6e 6c 79 0d 2d 2d 20 |d thisBg|Only.-- |
|000018a0| 69 66 20 77 65 20 61 72 | 65 20 6f 6e 6c 79 20 73 |if we ar|e only s|
|000018b0| 65 61 72 63 68 69 6e 67 | 20 69 6e 20 74 68 69 73 |earching| in this|
|000018c0| 20 62 67 2c 0d 2d 2d 20 | 6d 61 6b 65 20 73 75 72 | bg,.-- |make sur|
|000018d0| 65 20 61 6c 6c 20 74 68 | 65 20 6f 74 68 65 72 20 |e all th|e other |
|000018e0| 62 67 73 20 61 72 65 20 | 6d 61 72 6b 65 64 20 61 |bgs are |marked a|
|000018f0| 73 20 22 64 6f 6e 74 53 | 65 61 72 63 68 22 0d 0d |s "dontS|earch"..|
|00001900| 69 66 20 74 68 69 73 42 | 67 4f 6e 6c 79 20 74 68 |if thisB|gOnly th|
|00001910| 65 6e 0d 2d 2d 20 73 65 | 74 20 64 6f 6e 74 53 65 |en.-- se|t dontSe|
|00001920| 61 72 63 68 20 74 6f 20 | 74 72 75 65 20 6f 6e 20 |arch to |true on |
|00001930| 61 6c 6c 20 62 75 74 20 | 74 68 69 73 20 62 67 0d |all but |this bg.|
|00001940| 67 65 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |get the |number o|
|00001950| 66 20 74 68 69 73 20 62 | 67 0d 72 65 70 65 61 74 |f this b|g.repeat|
|00001960| 20 77 69 74 68 20 6e 20 | 3d 20 31 20 74 6f 20 74 | with n |= 1 to t|
|00001970| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 67 73 |he numbe|r of bgs|
|00001980| 0d 73 65 74 20 74 68 65 | 20 64 6f 6e 74 53 65 61 |.set the| dontSea|
|00001990| 72 63 68 20 6f 66 20 62 | 67 20 6e 20 74 6f 20 28 |rch of b|g n to (|
|000019a0| 6e 20 ad 20 62 29 0d 65 | 6e 64 20 72 65 70 65 61 |n . b).e|nd repea|
|000019b0| 74 0d 0d 65 6c 73 65 0d | 2d 2d 20 73 65 74 20 64 |t..else.|-- set d|
|000019c0| 6f 6e 74 53 65 61 72 63 | 68 20 74 6f 20 66 61 6c |ontSearc|h to fal|
|000019d0| 73 65 20 6f 6e 20 61 6c | 6c 20 62 67 73 0d 72 65 |se on al|l bgs.re|
|000019e0| 70 65 61 74 20 77 69 74 | 68 20 6e 20 3d 20 31 20 |peat wit|h n = 1 |
|000019f0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00001a00| 20 62 67 73 0d 73 65 74 | 20 74 68 65 20 64 6f 6e | bgs.set| the don|
|00001a10| 74 53 65 61 72 63 68 20 | 6f 66 20 62 67 20 6e 20 |tSearch |of bg n |
|00001a20| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 72 65 70 |to false|.end rep|
|00001a30| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 53 |eat.end |if.end S|
|00001a40| 65 74 75 70 42 67 73 46 | 6f 72 46 69 6e 64 0d 0d |etupBgsF|orFind..|
|00001a50| 2d 2d 0d 0d 6f 6e 20 41 | 64 64 54 6f 46 6f 75 6e |--..on A|ddToFoun|
|00001a60| 64 43 6f 6d 6d 61 6e 64 | 73 20 66 43 68 75 6e 6b |dCommand|s fChunk|
|00001a70| 0d 2d 2d 20 66 43 68 75 | 6e 6b 20 64 65 73 63 72 |.-- fChu|nk descr|
|00001a80| 69 62 65 73 20 61 20 66 | 69 65 6c 64 20 77 68 65 |ibes a f|ield whe|
|00001a90| 72 65 20 74 68 65 20 73 | 65 61 72 63 68 20 73 74 |re the s|earch st|
|00001aa0| 72 69 6e 67 20 77 61 73 | 20 66 6f 75 6e 64 0d 2d |ring was| found.-|
|00001ab0| 2d 20 77 65 20 73 65 6e | 64 20 74 68 61 74 20 66 |- we sen|d that f|
|00001ac0| 69 65 6c 64 20 74 68 65 | 20 41 64 64 4d 65 54 6f |ield the| AddMeTo|
|00001ad0| 46 6f 75 6e 64 4c 69 73 | 74 20 63 6f 6d 6d 61 6e |FoundLis|t comman|
|00001ae0| 64 2c 0d 2d 2d 20 73 6f | 20 74 68 61 74 20 64 69 |d,.-- so| that di|
|00001af0| 66 66 65 72 65 6e 74 20 | 66 69 65 6c 64 73 20 63 |fferent |fields c|
|00001b00| 61 6e 20 61 64 64 20 74 | 68 65 6d 73 65 6c 76 65 |an add t|hemselve|
|00001b10| 73 20 74 6f 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |s to the| list of|
|00001b20| 0d 2d 2d 20 66 6f 75 6e | 64 20 69 74 65 6d 73 20 |.-- foun|d items |
|00001b30| 69 6e 20 64 69 66 66 65 | 72 65 6e 74 20 77 61 79 |in diffe|rent way|
|00001b40| 73 0d 0d 2d 2d 20 65 78 | 74 72 61 63 74 20 75 73 |s..-- ex|tract us|
|00001b50| 65 66 75 6c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |eful inf|ormation|
|00001b60| 20 66 72 6f 6d 20 66 43 | 68 75 6e 6b 0d 70 75 74 | from fC|hunk.put|
|00001b70| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 66 | word 2 |of the f|
|00001b80| 6f 75 6e 64 4c 69 6e 65 | 20 69 6e 74 6f 20 66 4c |oundLine| into fL|
|00001b90| 69 6e 65 0d 70 75 74 20 | 77 6f 72 64 20 32 20 6f |ine.put |word 2 o|
|00001ba0| 66 20 66 43 68 75 6e 6b | 20 69 6e 74 6f 20 66 53 |f fChunk| into fS|
|00001bb0| 74 61 72 74 0d 70 75 74 | 20 77 6f 72 64 20 34 20 |tart.put| word 4 |
|00001bc0| 6f 66 20 66 43 68 75 6e | 6b 20 69 6e 74 6f 20 66 |of fChun|k into f|
|00001bd0| 45 6e 64 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |End.dele|te char |
|00001be0| 31 20 74 6f 20 6f 66 66 | 73 65 74 28 22 6f 66 22 |1 to off|set("of"|
|00001bf0| 2c 66 43 68 75 6e 6b 29 | 2b 32 20 6f 66 20 66 43 |,fChunk)|+2 of fC|
|00001c00| 68 75 6e 6b 0d 70 75 74 | 20 66 43 68 75 6e 6b 20 |hunk.put| fChunk |
|00001c10| 69 6e 74 6f 20 66 46 69 | 65 6c 64 0d 0d 2d 2d 20 |into fFi|eld..-- |
|00001c20| 73 65 6e 64 20 6d 65 73 | 73 61 67 65 20 74 6f 20 |send mes|sage to |
|00001c30| 74 68 65 20 66 69 65 6c | 64 20 77 68 65 72 65 20 |the fiel|d where |
|00001c40| 74 68 65 20 66 69 6e 64 | 20 6f 63 63 75 72 72 65 |the find| occurre|
|00001c50| 64 0d 73 65 6e 64 20 22 | 41 64 64 4d 65 54 6f 46 |d.send "|AddMeToF|
|00001c60| 6f 75 6e 64 4c 69 73 74 | 20 66 46 69 65 6c 64 2c |oundList| fField,|
|00001c70| 66 53 74 61 72 74 2c 66 | 45 6e 64 2c 66 4c 69 6e |fStart,f|End,fLin|
|00001c80| 65 22 20 74 6f 20 66 46 | 69 65 6c 64 0d 65 6e 64 |e" to fF|ield.end|
|00001c90| 20 41 64 64 54 6f 46 6f | 75 6e 64 43 6f 6d 6d 61 | AddToFo|undComma|
|00001ca0| 6e 64 73 0d 0d 2d 2d 0d | 0d 6f 6e 20 41 64 64 4d |nds..--.|.on AddM|
|00001cb0| 65 54 6f 46 6f 75 6e 64 | 4c 69 73 74 20 66 46 69 |eToFound|List fFi|
|00001cc0| 65 6c 64 2c 66 53 74 61 | 72 74 2c 66 45 6e 64 2c |eld,fSta|rt,fEnd,|
|00001cd0| 66 4c 69 6e 65 0d 2d 2d | 20 74 68 69 73 20 69 73 |fLine.--| this is|
|00001ce0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 76 65 72 | the def|ault ver|
|00001cf0| 73 69 6f 6e 20 6f 66 20 | 41 64 64 4d 65 54 6f 46 |sion of |AddMeToF|
|00001d00| 6f 75 6e 64 4c 69 73 74 | 0d 2d 2d 20 61 6e 79 20 |oundList|.-- any |
|00001d10| 66 69 65 6c 64 20 74 68 | 61 74 20 68 61 73 20 73 |field th|at has s|
|00001d20| 70 65 63 69 61 6c 20 72 | 65 71 75 69 72 65 6d 65 |pecial r|equireme|
|00001d30| 6e 74 73 20 63 61 6e 20 | 6f 76 65 72 72 69 64 65 |nts can |override|
|00001d40| 20 74 68 69 73 0d 2d 2d | 20 72 6f 75 74 69 6e 65 | this.--| routine|
|00001d50| 20 77 69 74 68 20 74 68 | 65 69 72 20 6f 77 6e 20 | with th|eir own |
|00001d60| 76 65 72 73 69 6f 6e 0d | 0d 2d 2d 20 46 6f 75 6e |version.|.-- Foun|
|00001d70| 64 4e 61 6d 65 73 20 63 | 6f 6e 74 61 69 6e 73 20 |dNames c|ontains |
|00001d80| 74 68 65 20 6c 61 62 65 | 6c 73 20 74 68 61 74 20 |the labe|ls that |
|00001d90| 77 69 6c 6c 20 62 65 20 | 64 69 73 70 6c 61 79 65 |will be |displaye|
|00001da0| 64 20 66 6f 72 20 65 61 | 63 68 0d 2d 2d 20 66 6f |d for ea|ch.-- fo|
|00001db0| 75 6e 64 20 69 74 65 6d | 2e 20 46 6f 75 6e 64 43 |und item|. FoundC|
|00001dc0| 6f 6d 6d 61 6e 64 73 20 | 63 6f 6e 74 61 69 6e 73 |ommands |contains|
|00001dd0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 73 20 74 6f | the com|mands to|
|00001de0| 20 65 78 65 63 75 74 65 | 20 77 68 65 6e 0d 2d 2d | execute| when.--|
|00001df0| 20 65 61 63 68 20 6f 66 | 20 74 68 65 20 6c 61 62 | each of| the lab|
|00001e00| 65 6c 73 20 69 73 20 63 | 6c 69 63 6b 65 64 20 6f |els is c|licked o|
|00001e10| 6e 2e 0d 0d 67 6c 6f 62 | 61 6c 20 46 6f 75 6e 64 |n...glob|al Found|
|00001e20| 43 6f 6d 6d 61 6e 64 73 | 2c 46 6f 75 6e 64 4e 61 |Commands|,FoundNa|
|00001e30| 6d 65 73 0d 0d 2d 2d 20 | 61 64 64 20 74 68 65 20 |mes..-- |add the |
|00001e40| 6c 69 6e 65 20 77 68 65 | 72 65 20 74 68 65 20 73 |line whe|re the s|
|00001e50| 74 72 69 6e 67 20 77 61 | 73 20 66 6f 75 6e 64 20 |tring wa|s found |
|00001e60| 74 6f 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 6c |to the l|ist of l|
|00001e70| 61 62 65 6c 73 0d 70 75 | 74 20 28 6c 69 6e 65 20 |abels.pu|t (line |
|00001e80| 66 4c 69 6e 65 20 6f 66 | 20 74 61 72 67 65 74 29 |fLine of| target)|
|00001e90| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00001ea0| 46 6f 75 6e 64 4e 61 6d | 65 73 0d 0d 2d 2d 20 61 |FoundNam|es..-- a|
|00001eb0| 64 64 20 61 20 63 6f 6d | 6d 61 6e 64 20 77 68 69 |dd a com|mand whi|
|00001ec0| 63 68 20 73 69 6d 70 6c | 79 20 67 6f 65 73 20 74 |ch simpl|y goes t|
|00001ed0| 6f 20 74 68 65 20 63 61 | 72 64 20 77 68 65 72 65 |o the ca|rd where|
|00001ee0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 77 61 73 20 | the str|ing was |
|00001ef0| 66 6f 75 6e 64 0d 70 75 | 74 20 22 47 6f 43 61 72 |found.pu|t "GoCar|
|00001f00| 64 49 64 22 20 26 26 20 | 28 74 68 65 20 73 68 6f |dId" && |(the sho|
|00001f10| 72 74 20 69 64 20 6f 66 | 20 74 68 69 73 20 63 61 |rt id of| this ca|
|00001f20| 72 64 29 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |rd) & re|turn aft|
|00001f30| 65 72 20 46 6f 75 6e 64 | 43 6f 6d 6d 61 6e 64 73 |er Found|Commands|
|00001f40| 0d 65 6e 64 20 41 64 64 | 4d 65 54 6f 46 6f 75 6e |.end Add|MeToFoun|
|00001f50| 64 4c 69 73 74 0d 0d 2d | 2d 0d 0d 6f 6e 20 41 64 |dList..-|-..on Ad|
|00001f60| 64 54 6f 70 69 63 54 6f | 46 6f 75 6e 64 4c 69 73 |dTopicTo|FoundLis|
|00001f70| 74 20 66 46 69 65 6c 64 | 2c 66 53 74 61 72 74 2c |t fField|,fStart,|
|00001f80| 66 45 6e 64 2c 66 4c 69 | 6e 65 2c 73 65 63 74 69 |fEnd,fLi|ne,secti|
|00001f90| 6f 6e 0d 2d 2d 20 74 68 | 69 73 20 76 65 72 73 69 |on.-- th|is versi|
|00001fa0| 6f 6e 20 6f 66 20 41 64 | 64 4d 65 54 6f 46 6f 75 |on of Ad|dMeToFou|
|00001fb0| 6e 64 4c 69 73 74 20 69 | 73 20 75 73 65 64 20 69 |ndList i|s used i|
|00001fc0| 6e 20 54 6f 70 69 63 20 | 66 69 65 6c 64 73 0d 0d |n Topic |fields..|
|00001fd0| 67 6c 6f 62 61 6c 20 46 | 6f 75 6e 64 43 6f 6d 6d |global F|oundComm|
|00001fe0| 61 6e 64 73 2c 46 6f 75 | 6e 64 4e 61 6d 65 73 0d |ands,Fou|ndNames.|
|00001ff0| 0d 2d 2d 20 61 64 64 73 | 20 74 68 65 20 6e 61 6d |.-- adds| the nam|
|00002000| 65 20 6f 66 20 74 68 65 | 20 73 65 63 74 69 6f 6e |e of the| section|
|00002010| 20 26 20 74 6f 70 69 63 | 20 74 6f 20 74 68 65 20 | & topic| to the |
|00002020| 6c 61 62 65 6c 73 0d 70 | 75 74 20 6c 69 6e 65 20 |labels.p|ut line |
|00002030| 66 4c 69 6e 65 20 6f 66 | 20 74 61 72 67 65 74 20 |fLine of| target |
|00002040| 69 6e 74 6f 20 74 6f 70 | 69 63 0d 70 75 74 20 46 |into top|ic.put F|
|00002050| 6f 75 6e 64 50 6c 61 63 | 65 28 73 65 63 74 69 6f |oundPlac|e(sectio|
|00002060| 6e 2c 74 6f 70 69 63 29 | 20 26 20 72 65 74 75 72 |n,topic)| & retur|
|00002070| 6e 20 61 66 74 65 72 20 | 66 6f 75 6e 64 4e 61 6d |n after |foundNam|
|00002080| 65 73 0d 0d 2d 2d 20 61 | 64 64 73 20 61 20 63 6f |es..-- a|dds a co|
|00002090| 6d 6d 61 6e 64 20 77 68 | 69 63 68 20 67 6f 65 73 |mmand wh|ich goes|
|000020a0| 20 74 6f 20 74 68 65 20 | 73 65 63 74 69 6f 6e 2c | to the |section,|
|000020b0| 20 61 6e 64 20 73 65 6c | 65 63 74 73 20 74 68 65 | and sel|ects the|
|000020c0| 20 74 6f 70 69 63 0d 70 | 75 74 20 22 46 6f 75 6e | topic.p|ut "Foun|
|000020d0| 64 54 6f 70 69 63 43 6c | 69 63 6b 65 64 22 20 26 |dTopicCl|icked" &|
|000020e0| 26 20 66 4c 69 6e 65 20 | 26 20 63 6f 6d 6d 61 20 |& fLine |& comma |
|000020f0| 26 20 71 75 6f 74 65 20 | 26 20 73 65 63 74 69 6f |& quote |& sectio|
|00002100| 6e 20 26 20 71 75 6f 74 | 65 20 26 20 72 65 74 75 |n & quot|e & retu|
|00002110| 72 6e 20 61 66 74 65 72 | 20 46 6f 75 6e 64 43 6f |rn after| FoundCo|
|00002120| 6d 6d 61 6e 64 73 0d 65 | 6e 64 20 41 64 64 54 6f |mmands.e|nd AddTo|
|00002130| 70 69 63 54 6f 46 6f 75 | 6e 64 4c 69 73 74 0d 0d |picToFou|ndList..|
|00002140| 2d 2d 0d 0d 6f 6e 20 41 | 64 64 46 69 6c 65 53 75 |--..on A|ddFileSu|
|00002150| 62 74 6f 70 69 63 54 6f | 46 6f 75 6e 64 4c 69 73 |btopicTo|FoundLis|
|00002160| 74 20 66 46 69 65 6c 64 | 2c 66 53 74 61 72 74 2c |t fField|,fStart,|
|00002170| 66 45 6e 64 2c 66 4c 69 | 6e 65 2c 73 65 63 74 69 |fEnd,fLi|ne,secti|
|00002180| 6f 6e 0d 2d 2d 20 74 68 | 69 73 20 76 65 72 73 69 |on.-- th|is versi|
|00002190| 6f 6e 20 6f 66 20 41 64 | 64 4d 65 54 6f 46 6f 75 |on of Ad|dMeToFou|
|000021a0| 6e 64 4c 69 73 74 20 69 | 73 20 75 73 65 64 20 66 |ndList i|s used f|
|000021b0| 6f 72 20 66 69 6e 64 73 | 20 69 6e 0d 2d 2d 20 66 |or finds| in.-- f|
|000021c0| 69 6c 65 20 62 61 73 65 | 64 20 53 75 62 74 6f 70 |ile base|d Subtop|
|000021d0| 69 63 20 69 6e 64 65 78 | 20 66 69 65 6c 64 73 20 |ic index| fields |
|000021e0| 28 65 67 20 43 6c 61 73 | 73 65 73 29 0d 0d 67 6c |(eg Clas|ses)..gl|
|000021f0| 6f 62 61 6c 20 46 6f 75 | 6e 64 43 6f 6d 6d 61 6e |obal Fou|ndComman|
|00002200| 64 73 2c 46 6f 75 6e 64 | 4e 61 6d 65 73 0d 0d 2d |ds,Found|Names..-|
|00002210| 2d 20 67 65 74 20 69 6e | 66 6f 72 6d 61 74 69 6f |- get in|formatio|
|00002220| 6e 20 6f 75 74 20 6f 66 | 20 74 68 65 20 69 6e 64 |n out of| the ind|
|00002230| 65 78 20 66 69 65 6c 64 | 0d 67 65 74 20 6c 69 6e |ex field|.get lin|
|00002240| 65 20 66 4c 69 6e 65 20 | 6f 66 20 74 61 72 67 65 |e fLine |of targe|
|00002250| 74 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |t.put it|em 1 of |
|00002260| 69 74 20 69 6e 74 6f 20 | 6e 61 6d 65 0d 70 75 74 |it into |name.put|
|00002270| 20 69 74 65 6d 20 32 20 | 6f 66 20 69 74 20 69 6e | item 2 |of it in|
|00002280| 74 6f 20 74 6f 70 69 63 | 4c 69 6e 65 0d 70 75 74 |to topic|Line.put|
|00002290| 20 69 74 65 6d 20 33 20 | 6f 66 20 69 74 20 69 6e | item 3 |of it in|
|000022a0| 74 6f 20 73 75 62 74 6f | 70 69 63 4c 69 6e 65 0d |to subto|picLine.|
|000022b0| 70 75 74 20 6c 69 6e 65 | 20 74 6f 70 69 63 4c 69 |put line| topicLi|
|000022c0| 6e 65 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 |ne of bg| field "|
|000022d0| 54 6f 70 69 63 73 22 20 | 69 6e 74 6f 20 74 6f 70 |Topics" |into top|
|000022e0| 69 63 0d 0d 2d 2d 20 61 | 64 64 20 6e 61 6d 65 20 |ic..-- a|dd name |
|000022f0| 6f 66 20 73 65 63 74 69 | 6f 6e 2c 20 74 6f 70 69 |of secti|on, topi|
|00002300| 63 20 26 20 73 75 62 74 | 6f 70 69 63 20 74 6f 20 |c & subt|opic to |
|00002310| 6c 61 62 65 6c 73 0d 70 | 75 74 20 46 6f 75 6e 64 |labels.p|ut Found|
|00002320| 50 6c 61 63 65 28 73 65 | 63 74 69 6f 6e 2c 74 6f |Place(se|ction,to|
|00002330| 70 69 63 29 20 26 20 22 | c9 20 22 20 26 20 6e 61 |pic) & "|. " & na|
|00002340| 6d 65 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |me & ret|urn afte|
|00002350| 72 20 66 6f 75 6e 64 4e | 61 6d 65 73 0d 0d 2d 2d |r foundN|ames..--|
|00002360| 20 61 64 64 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 | add com|mand to |
|00002370| 67 6f 20 74 6f 20 73 65 | 63 74 69 6f 6e 2c 20 61 |go to se|ction, a|
|00002380| 6e 64 20 73 65 6c 65 63 | 74 20 74 6f 70 69 63 20 |nd selec|t topic |
|00002390| 26 20 73 75 62 74 6f 70 | 69 63 0d 70 75 74 20 22 |& subtop|ic.put "|
|000023a0| 46 6f 75 6e 64 53 75 62 | 74 6f 70 69 63 43 6c 69 |FoundSub|topicCli|
|000023b0| 63 6b 65 64 22 20 26 26 | 20 73 75 62 74 6f 70 69 |cked" &&| subtopi|
|000023c0| 63 4c 69 6e 65 20 26 20 | 63 6f 6d 6d 61 20 26 20 |cLine & |comma & |
|000023d0| c2 0d 74 6f 70 69 63 4c | 69 6e 65 20 26 20 63 6f |..topicL|ine & co|
|000023e0| 6d 6d 61 20 26 20 71 75 | 6f 74 65 20 26 20 73 65 |mma & qu|ote & se|
|000023f0| 63 74 69 6f 6e 20 26 20 | 71 75 6f 74 65 20 26 20 |ction & |quote & |
|00002400| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 46 6f 75 |return a|fter Fou|
|00002410| 6e 64 43 6f 6d 6d 61 6e | 64 73 0d 65 6e 64 20 41 |ndComman|ds.end A|
|00002420| 64 64 46 69 6c 65 53 75 | 62 74 6f 70 69 63 54 6f |ddFileSu|btopicTo|
|00002430| 46 6f 75 6e 64 4c 69 73 | 74 0d 0d 2d 2d 0d 0d 6f |FoundLis|t..--..o|
|00002440| 6e 20 41 64 64 43 61 72 | 64 53 75 62 74 6f 70 69 |n AddCar|dSubtopi|
|00002450| 63 54 6f 46 6f 75 6e 64 | 4c 69 73 74 20 66 46 69 |cToFound|List fFi|
|00002460| 65 6c 64 2c 66 53 74 61 | 72 74 2c 66 45 6e 64 2c |eld,fSta|rt,fEnd,|
|00002470| 66 4c 69 6e 65 2c 73 65 | 63 74 69 6f 6e 0d 2d 2d |fLine,se|ction.--|
|00002480| 20 74 68 69 73 20 76 65 | 72 73 69 6f 6e 20 6f 66 | this ve|rsion of|
|00002490| 20 41 64 64 4d 65 54 6f | 46 6f 75 6e 64 4c 69 73 | AddMeTo|FoundLis|
|000024a0| 74 20 69 73 20 75 73 65 | 64 20 66 6f 72 20 66 69 |t is use|d for fi|
|000024b0| 6e 64 73 20 69 6e 0d 2d | 2d 20 63 61 72 64 20 62 |nds in.-|- card b|
|000024c0| 61 73 65 64 20 53 75 62 | 74 6f 70 69 63 20 69 6e |ased Sub|topic in|
|000024d0| 64 65 78 20 66 69 65 6c | 64 73 20 28 65 67 20 52 |dex fiel|ds (eg R|
|000024e0| 65 66 65 72 65 6e 63 65 | 29 0d 0d 67 6c 6f 62 61 |eference|)..globa|
|000024f0| 6c 20 46 6f 75 6e 64 43 | 6f 6d 6d 61 6e 64 73 2c |l FoundC|ommands,|
|00002500| 46 6f 75 6e 64 4e 61 6d | 65 73 0d 0d 2d 2d 20 77 |FoundNam|es..-- w|
|00002510| 6f 72 6b 20 6f 75 74 20 | 77 68 69 63 68 20 73 75 |ork out |which su|
|00002520| 62 74 6f 70 69 63 20 74 | 68 69 73 20 69 73 2c 20 |btopic t|his is, |
|00002530| 67 65 74 20 6e 61 6d 65 | 20 65 74 63 0d 67 65 74 |get name| etc.get|
|00002540| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002550| 61 72 64 20 31 20 6f 66 | 20 74 68 69 73 20 62 67 |ard 1 of| this bg|
|00002560| 0d 70 75 74 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |.put (th|e number|
|00002570| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 29 20 2d | of this| card) -|
|00002580| 20 69 74 2b 31 20 69 6e | 74 6f 20 74 6f 70 69 63 | it+1 in|to topic|
|00002590| 4c 69 6e 65 0d 70 75 74 | 20 66 4c 69 6e 65 20 69 |Line.put| fLine i|
|000025a0| 6e 74 6f 20 73 75 62 74 | 6f 70 69 63 4c 69 6e 65 |nto subt|opicLine|
|000025b0| 0d 70 75 74 20 62 67 20 | 66 69 65 6c 64 20 22 54 |.put bg |field "T|
|000025c0| 6f 70 69 63 22 20 69 6e | 74 6f 20 74 6f 70 69 63 |opic" in|to topic|
|000025d0| 0d 70 75 74 20 6c 69 6e | 65 20 66 4c 69 6e 65 20 |.put lin|e fLine |
|000025e0| 6f 66 20 74 61 72 67 65 | 74 20 69 6e 74 6f 20 6e |of targe|t into n|
|000025f0| 61 6d 65 0d 0d 2d 2d 20 | 61 64 64 20 6e 61 6d 65 |ame..-- |add name|
|00002600| 20 6f 66 20 73 65 63 74 | 69 6f 6e 2c 20 74 6f 70 | of sect|ion, top|
|00002610| 69 63 20 26 20 73 75 62 | 74 6f 70 69 63 20 74 6f |ic & sub|topic to|
|00002620| 20 6c 61 62 65 6c 73 0d | 70 75 74 20 46 6f 75 6e | labels.|put Foun|
|00002630| 64 50 6c 61 63 65 28 73 | 65 63 74 69 6f 6e 2c 74 |dPlace(s|ection,t|
|00002640| 6f 70 69 63 29 20 26 20 | 22 c9 20 22 20 26 20 6e |opic) & |". " & n|
|00002650| 61 6d 65 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ame & re|turn aft|
|00002660| 65 72 20 66 6f 75 6e 64 | 4e 61 6d 65 73 0d 0d 2d |er found|Names..-|
|00002670| 2d 20 61 64 64 20 63 6f | 6d 6d 61 6e 64 20 74 6f |- add co|mmand to|
|00002680| 20 67 6f 20 74 6f 20 73 | 65 63 74 69 6f 6e 2c 20 | go to s|ection, |
|00002690| 61 6e 64 20 73 65 6c 65 | 63 74 20 74 6f 70 69 63 |and sele|ct topic|
|000026a0| 20 26 20 73 75 62 74 6f | 70 69 63 0d 70 75 74 20 | & subto|pic.put |
|000026b0| 22 46 6f 75 6e 64 53 75 | 62 74 6f 70 69 63 43 6c |"FoundSu|btopicCl|
|000026c0| 69 63 6b 65 64 22 20 26 | 26 20 73 75 62 74 6f 70 |icked" &|& subtop|
|000026d0| 69 63 4c 69 6e 65 20 26 | 20 63 6f 6d 6d 61 20 26 |icLine &| comma &|
|000026e0| 20 c2 0d 74 6f 70 69 63 | 4c 69 6e 65 20 26 20 63 | ..topic|Line & c|
|000026f0| 6f 6d 6d 61 20 26 20 71 | 75 6f 74 65 20 26 20 73 |omma & q|uote & s|
|00002700| 65 63 74 69 6f 6e 20 26 | 20 71 75 6f 74 65 20 26 |ection &| quote &|
|00002710| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 46 6f | return |after Fo|
|00002720| 75 6e 64 43 6f 6d 6d 61 | 6e 64 73 0d 65 6e 64 20 |undComma|nds.end |
|00002730| 41 64 64 43 61 72 64 53 | 75 62 74 6f 70 69 63 54 |AddCardS|ubtopicT|
|00002740| 6f 46 6f 75 6e 64 4c 69 | 73 74 0d 0d 2d 2d 0d 0d |oFoundLi|st..--..|
|00002750| 6f 6e 20 41 64 64 4a 61 | 72 67 6f 6e 54 6f 46 6f |on AddJa|rgonToFo|
|00002760| 75 6e 64 4c 69 73 74 20 | 66 46 69 65 6c 64 2c 66 |undList |fField,f|
|00002770| 53 74 61 72 74 2c 66 45 | 6e 64 2c 66 4c 69 6e 65 |Start,fE|nd,fLine|
|00002780| 2c 73 65 63 74 69 6f 6e | 0d 2d 2d 20 74 68 69 73 |,section|.-- this|
|00002790| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 41 64 64 4d | version| of AddM|
|000027a0| 65 54 6f 46 6f 75 6e 64 | 4c 69 73 74 20 69 73 20 |eToFound|List is |
|000027b0| 75 73 65 64 20 66 6f 72 | 20 66 69 6e 64 73 20 69 |used for| finds i|
|000027c0| 6e 20 4a 61 72 67 6f 6e | 0d 0d 67 6c 6f 62 61 6c |n Jargon|..global|
|000027d0| 20 46 6f 75 6e 64 43 6f | 6d 6d 61 6e 64 73 2c 46 | FoundCo|mmands,F|
|000027e0| 6f 75 6e 64 4e 61 6d 65 | 73 0d 0d 2d 2d 20 61 64 |oundName|s..-- ad|
|000027f0| 64 20 6e 61 6d 65 20 6f | 66 20 73 65 63 74 69 6f |d name o|f sectio|
|00002800| 6e 2c 20 74 6f 70 69 63 | 20 26 20 73 75 62 74 6f |n, topic| & subto|
|00002810| 70 69 63 20 74 6f 20 6c | 61 62 65 6c 73 0d 70 75 |pic to l|abels.pu|
|00002820| 74 20 62 67 20 66 69 65 | 6c 64 20 22 53 75 62 74 |t bg fie|ld "Subt|
|00002830| 6f 70 69 63 22 20 69 6e | 74 6f 20 74 6f 70 69 63 |opic" in|to topic|
|00002840| 0d 70 75 74 20 46 6f 75 | 6e 64 50 6c 61 63 65 28 |.put Fou|ndPlace(|
|00002850| 73 65 63 74 69 6f 6e 2c | 74 6f 70 69 63 29 20 26 |section,|topic) &|
|00002860| 20 22 c9 20 22 20 26 20 | 28 6c 69 6e 65 20 66 4c | ". " & |(line fL|
|00002870| 69 6e 65 20 6f 66 20 74 | 61 72 67 65 74 29 20 26 |ine of t|arget) &|
|00002880| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 46 6f | return |after Fo|
|00002890| 75 6e 64 4e 61 6d 65 73 | 0d 0d 2d 2d 20 61 64 64 |undNames|..-- add|
|000028a0| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 67 6f 20 74 | command| to go t|
|000028b0| 6f 20 6a 61 72 67 6f 6e | 20 63 61 72 64 0d 70 75 |o jargon| card.pu|
|000028c0| 74 20 22 46 6f 75 6e 64 | 4a 61 72 67 6f 6e 43 6c |t "Found|JargonCl|
|000028d0| 69 63 6b 65 64 22 20 26 | 26 20 66 4c 69 6e 65 20 |icked" &|& fLine |
|000028e0| 26 20 63 6f 6d 6d 61 20 | 26 20 28 74 68 65 20 73 |& comma |& (the s|
|000028f0| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this |
|00002900| 63 61 72 64 29 20 26 20 | 72 65 74 75 72 6e 20 61 |card) & |return a|
|00002910| 66 74 65 72 20 46 6f 75 | 6e 64 43 6f 6d 6d 61 6e |fter Fou|ndComman|
|00002920| 64 73 0d 65 6e 64 20 41 | 64 64 4a 61 72 67 6f 6e |ds.end A|ddJargon|
|00002930| 54 6f 46 6f 75 6e 64 4c | 69 73 74 0d 0d 2d 2d 0d |ToFoundL|ist..--.|
|00002940| 0d 6f 6e 20 41 64 64 42 | 75 74 74 6f 6e 54 6f 46 |.on AddB|uttonToF|
|00002950| 6f 75 6e 64 4c 69 73 74 | 20 66 46 69 65 6c 64 2c |oundList| fField,|
|00002960| 66 53 74 61 72 74 2c 66 | 45 6e 64 2c 66 4c 69 6e |fStart,f|End,fLin|
|00002970| 65 2c 73 65 63 74 69 6f | 6e 0d 2d 2d 20 74 68 69 |e,sectio|n.-- thi|
|00002980| 73 20 76 65 72 73 69 6f | 6e 20 6f 66 20 41 64 64 |s versio|n of Add|
|00002990| 4d 65 54 6f 46 6f 75 6e | 64 4c 69 73 74 20 69 73 |MeToFoun|dList is|
|000029a0| 20 75 73 65 64 20 66 6f | 72 20 66 69 6e 64 73 20 | used fo|r finds |
|000029b0| 6f 6e 0d 2d 2d 20 62 75 | 74 74 6f 6e 20 6e 61 6d |on.-- bu|tton nam|
|000029c0| 65 73 20 69 6e 20 52 65 | 66 65 72 65 6e 63 65 0d |es in Re|ference.|
|000029d0| 0d 67 6c 6f 62 61 6c 20 | 46 6f 75 6e 64 43 6f 6d |.global |FoundCom|
|000029e0| 6d 61 6e 64 73 2c 46 6f | 75 6e 64 4e 61 6d 65 73 |mands,Fo|undNames|
|000029f0| 0d 0d 2d 2d 20 67 65 74 | 20 69 6e 66 6f 72 6d 61 |..-- get| informa|
|00002a00| 74 69 6f 6e 20 6f 75 74 | 20 6f 66 20 74 68 65 20 |tion out| of the |
|00002a10| 69 6e 64 65 78 20 66 69 | 65 6c 64 0d 67 65 74 20 |index fi|eld.get |
|00002a20| 6c 69 6e 65 20 66 4c 69 | 6e 65 20 6f 66 20 74 61 |line fLi|ne of ta|
|00002a30| 72 67 65 74 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |rget.put| item 1 |
|00002a40| 6f 66 20 69 74 20 69 6e | 74 6f 20 6e 61 6d 65 0d |of it in|to name.|
|00002a50| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |put item| 2 of it|
|00002a60| 20 69 6e 74 6f 20 74 6f | 70 69 63 4c 69 6e 65 0d | into to|picLine.|
|00002a70| 70 75 74 20 69 74 65 6d | 20 33 20 6f 66 20 69 74 |put item| 3 of it|
|00002a80| 20 69 6e 74 6f 20 63 61 | 72 64 49 64 0d 70 75 74 | into ca|rdId.put|
|00002a90| 20 6c 69 6e 65 20 74 6f | 70 69 63 4c 69 6e 65 20 | line to|picLine |
|00002aa0| 6f 66 20 62 67 20 66 69 | 65 6c 64 20 22 54 6f 70 |of bg fi|eld "Top|
|00002ab0| 69 63 73 22 20 69 6e 74 | 6f 20 74 6f 70 69 63 0d |ics" int|o topic.|
|00002ac0| 0d 2d 2d 20 61 64 64 20 | 6e 61 6d 65 20 6f 66 20 |.-- add |name of |
|00002ad0| 73 65 63 74 69 6f 6e 2c | 20 74 6f 70 69 63 20 26 |section,| topic &|
|00002ae0| 20 73 75 62 74 6f 70 69 | 63 20 74 6f 20 6c 61 62 | subtopi|c to lab|
|00002af0| 65 6c 73 0d 70 75 74 20 | 46 6f 75 6e 64 50 6c 61 |els.put |FoundPla|
|00002b00| 63 65 28 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |ce(secti|on,topic|
|00002b10| 29 20 26 20 22 c9 20 22 | 20 26 20 6e 61 6d 65 20 |) & ". "| & name |
|00002b20| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 66 |& return| after f|
|00002b30| 6f 75 6e 64 4e 61 6d 65 | 73 0d 0d 2d 2d 20 61 64 |oundName|s..-- ad|
|00002b40| 64 20 63 6f 6d 6d 61 6e | 64 20 74 6f 20 67 6f 20 |d comman|d to go |
|00002b50| 74 6f 20 73 65 63 74 69 | 6f 6e 2c 20 61 6e 64 20 |to secti|on, and |
|00002b60| 73 65 6c 65 63 74 20 74 | 6f 70 69 63 20 26 20 73 |select t|opic & s|
|00002b70| 75 62 74 6f 70 69 63 0d | 70 75 74 20 22 46 6f 75 |ubtopic.|put "Fou|
|00002b80| 6e 64 42 75 74 74 6f 6e | 43 6c 69 63 6b 65 64 22 |ndButton|Clicked"|
|00002b90| 20 26 26 20 63 61 72 64 | 49 64 20 26 20 63 6f 6d | && card|Id & com|
|00002ba0| 6d 61 20 26 20 c2 0d 74 | 6f 70 69 63 4c 69 6e 65 |ma & ..t|opicLine|
|00002bb0| 20 26 20 63 6f 6d 6d 61 | 20 26 20 71 75 6f 74 65 | & comma| & quote|
|00002bc0| 20 26 20 6e 61 6d 65 20 | 26 20 71 75 6f 74 65 20 | & name |& quote |
|00002bd0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 46 |& return| after F|
|00002be0| 6f 75 6e 64 43 6f 6d 6d | 61 6e 64 73 0d 65 6e 64 |oundComm|ands.end|
|00002bf0| 20 41 64 64 42 75 74 74 | 6f 6e 54 6f 46 6f 75 6e | AddButt|onToFoun|
|00002c00| 64 4c 69 73 74 0d 0d 2d | 2d 0d 0d 66 75 6e 63 74 |dList..-|-..funct|
|00002c10| 69 6f 6e 20 46 6f 75 6e | 64 50 6c 61 63 65 20 73 |ion Foun|dPlace s|
|00002c20| 65 63 74 69 6f 6e 2c 74 | 6f 70 69 63 0d 2d 2d 20 |ection,t|opic.-- |
|00002c30| 72 65 74 75 72 6e 20 6e | 61 6d 65 20 6f 66 20 73 |return n|ame of s|
|00002c40| 65 63 74 69 6f 6e 20 61 | 6e 64 20 74 6f 70 69 63 |ection a|nd topic|
|00002c50| 2c 20 69 6e 20 73 74 61 | 6e 64 61 72 64 20 66 6f |, in sta|ndard fo|
|00002c60| 72 6d 61 74 2c 0d 2d 2d | 20 74 6f 20 62 65 20 64 |rmat,.--| to be d|
|00002c70| 69 73 70 6c 61 79 65 64 | 20 69 6e 20 77 69 6e 64 |isplayed| in wind|
|00002c80| 6f 77 20 6f 66 20 73 65 | 61 72 63 68 20 72 65 73 |ow of se|arch res|
|00002c90| 75 6c 74 73 0d 0d 72 65 | 74 75 72 6e 20 74 6f 70 |ults..re|turn top|
|00002ca0| 69 63 20 26 20 22 20 28 | 22 20 26 20 73 65 63 74 |ic & " (|" & sect|
|00002cb0| 69 6f 6e 20 26 20 22 29 | 22 0d 65 6e 64 20 46 6f |ion & ")|".end Fo|
|00002cc0| 75 6e 64 50 6c 61 63 65 | 0d 0d 2d 2d 0d 0d 6f 6e |undPlace|..--..on|
|00002cd0| 20 44 69 73 70 6c 61 79 | 4e 6f 74 46 6f 75 6e 64 | Display|NotFound|
|00002ce0| 44 69 61 6c 6f 67 20 74 | 68 69 73 42 67 4f 6e 6c |Dialog t|hisBgOnl|
|00002cf0| 79 0d 2d 2d 20 64 69 73 | 70 6c 61 79 20 64 69 61 |y.-- dis|play dia|
|00002d00| 6c 6f 67 20 73 61 79 69 | 6e 67 20 22 43 6f 75 6c |log sayi|ng "Coul|
|00002d10| 64 6e 27 74 20 66 69 6e | 64 20 61 6e 79 74 68 69 |dn't fin|d anythi|
|00002d20| 6e 67 22 0d 0d 67 6c 6f | 62 61 6c 20 4c 61 73 74 |ng"..glo|bal Last|
|00002d30| 46 69 6e 64 2c 20 46 6f | 75 6e 64 43 6f 6d 6d 61 |Find, Fo|undComma|
|00002d40| 6e 64 73 2c 46 6f 75 6e | 64 4e 61 6d 65 73 0d 0d |nds,Foun|dNames..|
|00002d50| 69 66 20 74 68 69 73 42 | 67 4f 6e 6c 79 20 74 68 |if thisB|gOnly th|
|00002d60| 65 6e 0d 70 75 74 20 22 | 43 6f 75 6c 64 6e d5 74 |en.put "|Couldn.t|
|00002d70| 20 66 69 6e 64 20 61 6e | 79 20 6f 63 63 75 72 65 | find an|y occure|
|00002d80| 6e 63 65 73 20 6f 66 20 | d2 22 20 26 20 4c 61 73 |nces of |." & Las|
|00002d90| 74 46 69 6e 64 20 26 20 | 22 d3 20 69 6e 20 74 68 |tFind & |". in th|
|00002da0| 69 73 20 73 65 63 74 69 | 6f 6e 2e 22 20 69 6e 74 |is secti|on." int|
|00002db0| 6f 20 70 72 6f 6d 70 74 | 0d 65 6c 73 65 0d 70 75 |o prompt|.else.pu|
|00002dc0| 74 20 22 43 6f 75 6c 64 | 6e d5 74 20 66 69 6e 64 |t "Could|n.t find|
|00002dd0| 20 61 6e 79 20 6f 63 63 | 75 72 65 6e 63 65 73 20 | any occ|urences |
|00002de0| 6f 66 20 d2 22 20 26 20 | 4c 61 73 74 46 69 6e 64 |of ." & |LastFind|
|00002df0| 20 26 20 22 d3 2e 22 20 | 69 6e 74 6f 20 70 72 6f | & ".." |into pro|
|00002e00| 6d 70 74 0d 65 6e 64 20 | 69 66 0d 0d 62 65 65 70 |mpt.end |if..beep|
|00002e10| 0d 61 6e 73 77 65 72 20 | 70 72 6f 6d 70 74 0d 65 |.answer |prompt.e|
|00002e20| 6e 64 20 44 69 73 70 6c | 61 79 4e 6f 74 46 6f 75 |nd Displ|ayNotFou|
|00002e30| 6e 64 44 69 61 6c 6f 67 | 0d 0d 2d 2d 0d 0d 6f 6e |ndDialog|..--..on|
|00002e40| 20 44 69 73 70 6c 61 79 | 46 69 6e 64 52 65 73 75 | Display|FindResu|
|00002e50| 6c 74 73 0d 2d 2d 20 64 | 69 73 70 6c 61 79 20 61 |lts.-- d|isplay a|
|00002e60| 20 77 69 6e 64 6f 77 20 | 63 6f 6e 74 61 69 6e 69 | window |containi|
|00002e70| 6e 67 20 72 65 73 75 6c | 74 73 20 6f 66 20 74 68 |ng resul|ts of th|
|00002e80| 65 20 6c 61 73 74 20 73 | 65 61 72 63 68 0d 0d 67 |e last s|earch..g|
|00002e90| 6c 6f 62 61 6c 20 4c 61 | 73 74 46 69 6e 64 2c 20 |lobal La|stFind, |
|00002ea0| 46 6f 75 6e 64 43 6f 6d | 6d 61 6e 64 73 2c 46 6f |FoundCom|mands,Fo|
|00002eb0| 75 6e 64 4e 61 6d 65 73 | 2c 46 6f 75 6e 64 52 65 |undNames|,FoundRe|
|00002ec0| 63 74 0d 0d 2d 2d 20 75 | 73 65 20 64 65 66 61 75 |ct..-- u|se defau|
|00002ed0| 6c 74 20 70 6f 73 69 74 | 69 6f 6e 20 69 66 20 66 |lt posit|ion if f|
|00002ee0| 69 72 73 74 20 77 69 6e | 64 6f 77 2c 20 6f 74 68 |irst win|dow, oth|
|00002ef0| 65 72 77 69 73 65 0d 2d | 2d 20 75 73 65 20 74 68 |erwise.-|- use th|
|00002f00| 65 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |e positi|on of th|
|00002f10| 65 20 6c 61 73 74 20 73 | 65 61 72 63 68 20 77 69 |e last s|earch wi|
|00002f20| 6e 64 6f 77 0d 69 66 20 | 46 6f 75 6e 64 52 65 63 |ndow.if |FoundRec|
|00002f30| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|00002f40| 70 75 74 20 22 33 36 35 | 2c 32 36 30 2c 35 36 36 |put "365|,260,566|
|00002f50| 2c 33 34 33 22 20 69 6e | 74 6f 20 46 6f 75 6e 64 |,343" in|to Found|
|00002f60| 52 65 63 74 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |Rect.end| if..-- |
|00002f70| 73 65 74 20 75 70 20 74 | 68 65 20 73 74 79 6c 65 |set up t|he style|
|00002f80| 20 61 6e 64 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | and nam|e of the|
|00002f90| 20 77 69 6e 64 6f 77 0d | 70 75 74 20 22 d2 22 20 | window.|put "." |
|00002fa0| 26 20 4c 61 73 74 46 69 | 6e 64 20 26 20 22 d3 20 |& LastFi|nd & ". |
|00002fb0| 77 61 73 20 66 6f 75 6e | 64 20 69 6e 3a 22 20 69 |was foun|d in:" i|
|00002fc0| 6e 74 6f 20 6e 61 6d 65 | 0d 70 75 74 20 32 20 69 |nto name|.put 2 i|
|00002fd0| 6e 74 6f 20 76 61 72 69 | 61 74 69 6f 6e 20 2d 2d |nto vari|ation --|
|00002fe0| 20 73 68 6f 77 20 74 68 | 65 20 74 69 74 6c 65 62 | show th|e titleb|
|00002ff0| 61 72 0d 0d 2d 2d 20 63 | 72 65 61 74 65 20 74 68 |ar..-- c|reate th|
|00003000| 65 20 77 69 6e 64 6f 77 | 20 69 66 20 74 68 65 72 |e window| if ther|
|00003010| 65 20 69 73 6e 27 74 20 | 61 6c 72 65 61 64 79 20 |e isn't |already |
|00003020| 6f 6e 65 20 77 69 74 68 | 20 74 68 61 74 20 6e 61 |one with| that na|
|00003030| 6d 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |me.if th|ere is n|
|00003040| 6f 74 20 61 20 77 69 6e | 64 6f 77 20 6e 61 6d 65 |ot a win|dow name|
|00003050| 20 74 68 65 6e 0d 54 65 | 78 74 56 69 65 77 20 6e | then.Te|xtView n|
|00003060| 61 6d 65 2c 22 74 72 75 | 65 22 2c 20 22 47 72 65 |ame,"tru|e", "Gre|
|00003070| 79 2c 22 20 26 20 76 61 | 72 69 61 74 69 6f 6e 0d |y," & va|riation.|
|00003080| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 73 65 74 20 75 |end if..|-- set u|
|00003090| 70 20 74 68 65 20 77 69 | 6e 64 6f 77 2c 20 66 69 |p the wi|ndow, fi|
|000030a0| 6c 6c 20 69 74 20 77 69 | 74 68 20 74 68 65 20 72 |ll it wi|th the r|
|000030b0| 65 73 75 6c 74 73 2c 20 | 74 68 65 6e 20 73 68 6f |esults, |then sho|
|000030c0| 77 20 69 74 0d 69 66 20 | 74 68 65 72 65 20 69 73 |w it.if |there is|
|000030d0| 20 61 20 77 69 6e 64 6f | 77 20 6e 61 6d 65 20 74 | a windo|w name t|
|000030e0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 72 65 63 74 |hen.set |the rect|
|000030f0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 6e 61 6d 65 20 | of wind|ow name |
|00003100| 74 6f 20 46 6f 75 6e 64 | 52 65 63 74 0d 73 65 74 |to Found|Rect.set|
|00003110| 20 74 68 65 20 64 6f 6e | 74 57 72 61 70 20 6f 66 | the don|tWrap of|
|00003120| 20 77 69 6e 64 6f 77 20 | 6e 61 6d 65 20 74 6f 20 | window |name to |
|00003130| 74 72 75 65 0d 73 65 74 | 20 74 68 65 20 73 63 72 |true.set| the scr|
|00003140| 6f 6c 6c 62 61 72 20 6f | 66 20 77 69 6e 64 6f 77 |ollbar o|f window|
|00003150| 20 6e 61 6d 65 20 74 6f | 20 38 0d 73 65 74 20 74 | name to| 8.set t|
|00003160| 68 65 20 63 6c 69 63 6b | 4d 65 73 73 61 67 65 20 |he click|Message |
|00003170| 6f 66 20 77 69 6e 64 6f | 77 20 6e 61 6d 65 20 74 |of windo|w name t|
|00003180| 6f 20 46 69 6e 64 52 65 | 73 75 6c 74 73 43 6c 69 |o FindRe|sultsCli|
|00003190| 63 6b 65 64 0d 73 65 74 | 20 74 68 65 20 68 69 64 |cked.set| the hid|
|000031a0| 65 4d 65 73 73 61 67 65 | 20 6f 66 20 77 69 6e 64 |eMessage| of wind|
|000031b0| 6f 77 20 6e 61 6d 65 20 | 74 6f 20 46 69 6e 64 52 |ow name |to FindR|
|000031c0| 65 73 75 6c 74 73 48 69 | 64 64 65 6e 0d 73 65 74 |esultsHi|dden.set|
|000031d0| 20 74 68 65 20 77 68 6f | 6c 65 4c 69 6e 65 20 6f | the who|leLine o|
|000031e0| 66 20 77 69 6e 64 6f 77 | 20 6e 61 6d 65 20 74 6f |f window| name to|
|000031f0| 20 74 72 75 65 0d 73 65 | 74 20 74 68 65 20 68 69 | true.se|t the hi|
|00003200| 64 64 65 6e 54 65 78 74 | 20 6f 66 20 77 69 6e 64 |ddenText| of wind|
|00003210| 6f 77 20 6e 61 6d 65 20 | 74 6f 20 46 6f 75 6e 64 |ow name |to Found|
|00003220| 43 6f 6d 6d 61 6e 64 73 | 0d 73 65 74 20 74 68 65 |Commands|.set the|
|00003230| 20 74 65 78 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 | text of| window |
|00003240| 6e 61 6d 65 20 74 6f 20 | 66 6f 75 6e 64 4e 61 6d |name to |foundNam|
|00003250| 65 73 0d 73 65 74 20 74 | 68 65 20 65 64 69 74 61 |es.set t|he edita|
|00003260| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 6e 61 |ble of w|indow na|
|00003270| 6d 65 20 74 6f 20 66 61 | 6c 73 65 0d 73 65 74 20 |me to fa|lse.set |
|00003280| 74 68 65 20 66 6f 72 65 | 67 72 6f 75 6e 64 20 6f |the fore|ground o|
|00003290| 66 20 77 69 6e 64 6f 77 | 20 6e 61 6d 65 20 74 6f |f window| name to|
|000032a0| 20 22 2d 31 2c 30 2c 30 | 22 0d 73 65 74 20 74 68 | "-1,0,0|".set th|
|000032b0| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 6f 66 20 |e backgr|ound of |
|000032c0| 77 69 6e 64 6f 77 20 6e | 61 6d 65 20 74 6f 20 22 |window n|ame to "|
|000032d0| 2d 31 2c 2d 32 30 30 30 | 2c 2d 31 22 0d 73 68 6f |-1,-2000|,-1".sho|
|000032e0| 77 20 77 69 6e 64 6f 77 | 20 6e 61 6d 65 0d 65 6e |w window| name.en|
|000032f0| 64 20 69 66 0d 65 6e 64 | 20 44 69 73 70 6c 61 79 |d if.end| Display|
|00003300| 46 69 6e 64 52 65 73 75 | 6c 74 73 0d 0d 2d 2d 0d |FindResu|lts..--.|
|00003310| 0d 6f 6e 20 46 69 6e 64 | 52 65 73 75 6c 74 73 43 |.on Find|ResultsC|
|00003320| 6c 69 63 6b 65 64 20 6e | 61 6d 65 0d 2d 2d 20 68 |licked n|ame.-- h|
|00003330| 61 6e 64 6c 65 20 61 20 | 63 6c 69 63 6b 20 6f 6e |andle a |click on|
|00003340| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 69 74 65 6d | one of |the item|
|00003350| 73 20 69 6e 20 61 20 77 | 69 6e 64 6f 77 20 6f 66 |s in a w|indow of|
|00003360| 0d 2d 2d 20 73 65 61 72 | 63 68 20 72 65 73 75 6c |.-- sear|ch resul|
|00003370| 74 73 2c 20 62 79 20 65 | 78 65 63 75 74 69 6e 67 |ts, by e|xecuting|
|00003380| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00003390| 6e 67 20 65 6e 74 72 79 | 0d 2d 2d 20 69 6e 20 74 |ng entry|.-- in t|
|000033a0| 68 65 20 6c 69 73 74 20 | 6f 66 20 63 6f 6d 6d 61 |he list |of comma|
|000033b0| 6e 64 73 0d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |nds..set| cursor |
|000033c0| 74 6f 20 77 61 74 63 68 | 0d 0d 67 65 74 20 74 68 |to watch|..get th|
|000033d0| 65 20 73 65 6c 4c 69 6e | 65 20 6f 66 20 77 69 6e |e selLin|e of win|
|000033e0| 64 6f 77 20 6e 61 6d 65 | 0d 67 65 74 20 6c 69 6e |dow name|.get lin|
|000033f0| 65 20 69 74 20 6f 66 20 | 74 68 65 20 68 69 64 64 |e it of |the hidd|
|00003400| 65 6e 54 65 78 74 20 6f | 66 20 77 69 6e 64 6f 77 |enText o|f window|
|00003410| 20 6e 61 6d 65 0d 69 66 | 20 69 74 20 69 73 20 6e | name.if| it is n|
|00003420| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 64 6f |ot empty| then.do|
|00003430| 20 69 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 46 | it.end |if.end F|
|00003440| 69 6e 64 52 65 73 75 6c | 74 73 43 6c 69 63 6b 65 |indResul|tsClicke|
|00003450| 64 0d 0d 2d 2d 0d 0d 6f | 6e 20 46 69 6e 64 52 65 |d..--..o|n FindRe|
|00003460| 73 75 6c 74 73 48 69 64 | 64 65 6e 20 6e 61 6d 65 |sultsHid|den name|
|00003470| 0d 2d 2d 20 68 61 6e 64 | 6c 65 20 75 73 65 72 20 |.-- hand|le user |
|00003480| 63 6c 69 63 6b 69 6e 67 | 20 6f 6e 20 63 6c 6f 73 |clicking| on clos|
|00003490| 65 20 62 6f 78 20 6f 66 | 20 61 20 66 69 6e 64 20 |e box of| a find |
|000034a0| 77 69 6e 64 6f 77 0d 0d | 67 6c 6f 62 61 6c 20 46 |window..|global F|
|000034b0| 6f 75 6e 64 52 65 63 74 | 0d 0d 2d 2d 20 72 65 6d |oundRect|..-- rem|
|000034c0| 65 6d 62 65 72 20 72 65 | 63 74 20 6f 66 20 77 69 |ember re|ct of wi|
|000034d0| 6e 64 6f 77 20 66 6f 72 | 20 6e 65 78 74 20 74 69 |ndow for| next ti|
|000034e0| 6d 65 0d 70 75 74 20 74 | 68 65 20 72 65 63 74 20 |me.put t|he rect |
|000034f0| 6f 66 20 77 69 6e 64 6f | 77 20 6e 61 6d 65 20 69 |of windo|w name i|
|00003500| 6e 74 6f 20 46 6f 75 6e | 64 52 65 63 74 0d 0d 2d |nto Foun|dRect..-|
|00003510| 2d 20 63 6c 6f 73 65 20 | 74 68 65 20 77 69 6e 64 |- close |the wind|
|00003520| 6f 77 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |ow.close| window |
|00003530| 6e 61 6d 65 0d 65 6e 64 | 20 46 69 6e 64 52 65 73 |name.end| FindRes|
|00003540| 75 6c 74 73 48 69 64 64 | 65 6e 0d 0d 2d 2d 0d 0d |ultsHidd|en..--..|
|00003550| 6f 6e 20 46 6f 75 6e 64 | 54 6f 70 69 63 43 6c 69 |on Found|TopicCli|
|00003560| 63 6b 65 64 20 74 6f 70 | 69 63 4c 69 6e 65 2c 73 |cked top|icLine,s|
|00003570| 65 63 74 69 6f 6e 0d 2d | 2d 20 72 6f 75 74 69 6e |ection.-|- routin|
|00003580| 65 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 20 61 20 |e called| when a |
|00003590| 74 6f 70 69 63 20 69 74 | 65 6d 20 63 6c 69 63 6b |topic it|em click|
|000035a0| 65 64 20 6f 6e 20 69 6e | 20 66 69 6e 64 20 77 69 |ed on in| find wi|
|000035b0| 6e 64 6f 77 0d 2d 2d 20 | 67 6f 65 73 20 74 6f 20 |ndow.-- |goes to |
|000035c0| 74 68 65 20 69 6e 64 65 | 78 20 63 61 72 64 20 66 |the inde|x card f|
|000035d0| 6f 72 20 74 68 65 20 74 | 6f 70 69 63 2c 20 61 6e |or the t|opic, an|
|000035e0| 64 20 63 6c 69 63 6b 73 | 20 6f 6e 20 69 74 0d 0d |d clicks| on it..|
|000035f0| 47 6f 49 6e 64 65 78 20 | 73 65 63 74 69 6f 6e 0d |GoIndex |section.|
|00003600| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 74 6f 70 69 |select l|ine topi|
|00003610| 63 4c 69 6e 65 20 6f 66 | 20 62 67 20 66 69 65 6c |cLine of| bg fiel|
|00003620| 64 20 22 54 6f 70 69 63 | 73 22 0d 73 65 6e 64 20 |d "Topic|s".send |
|00003630| 6d 6f 75 73 65 55 70 20 | 74 6f 20 62 67 20 66 69 |mouseUp |to bg fi|
|00003640| 65 6c 64 20 22 54 6f 70 | 69 63 73 22 0d 65 6e 64 |eld "Top|ics".end|
|00003650| 20 46 6f 75 6e 64 54 6f | 70 69 63 43 6c 69 63 6b | FoundTo|picClick|
|00003660| 65 64 0d 0d 2d 2d 0d 0d | 6f 6e 20 46 6f 75 6e 64 |ed..--..|on Found|
|00003670| 53 75 62 74 6f 70 69 63 | 43 6c 69 63 6b 65 64 20 |Subtopic|Clicked |
|00003680| 73 75 62 74 6f 70 69 63 | 4c 69 6e 65 2c 74 6f 70 |subtopic|Line,top|
|00003690| 69 63 4c 69 6e 65 2c 73 | 65 63 74 69 6f 6e 0d 2d |icLine,s|ection.-|
|000036a0| 2d 20 72 6f 75 74 69 6e | 65 20 63 61 6c 6c 65 64 |- routin|e called|
|000036b0| 20 77 68 65 6e 20 61 20 | 73 75 62 74 6f 70 69 63 | when a |subtopic|
|000036c0| 20 69 74 65 6d 20 63 6c | 69 63 6b 65 64 20 6f 6e | item cl|icked on|
|000036d0| 20 69 6e 20 66 69 6e 64 | 20 77 69 6e 64 6f 77 0d | in find| window.|
|000036e0| 2d 2d 20 67 6f 65 73 20 | 74 6f 20 74 68 65 20 69 |-- goes |to the i|
|000036f0| 6e 64 65 78 20 63 61 72 | 64 20 66 6f 72 20 74 68 |ndex car|d for th|
|00003700| 65 20 74 6f 70 69 63 2c | 20 61 6e 64 20 63 6c 69 |e topic,| and cli|
|00003710| 63 6b 73 20 6f 6e 20 69 | 74 0d 2d 2d 20 74 68 65 |cks on i|t.-- the|
|00003720| 6e 20 68 69 6c 69 67 68 | 74 73 20 28 62 75 74 20 |n hiligh|ts (but |
|00003730| 64 6f 65 73 6e 27 74 20 | 63 6c 69 63 6b 20 6f 6e |doesn't |click on|
|00003740| 29 20 74 68 65 20 73 75 | 62 74 6f 70 69 63 0d 0d |) the su|btopic..|
|00003750| 47 6f 49 6e 64 65 78 20 | 73 65 63 74 69 6f 6e 0d |GoIndex |section.|
|00003760| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 74 6f 70 69 |select l|ine topi|
|00003770| 63 4c 69 6e 65 20 6f 66 | 20 62 67 20 66 69 65 6c |cLine of| bg fiel|
|00003780| 64 20 22 54 6f 70 69 63 | 73 22 0d 73 65 6e 64 20 |d "Topic|s".send |
|00003790| 6d 6f 75 73 65 55 70 20 | 74 6f 20 62 67 20 66 69 |mouseUp |to bg fi|
|000037a0| 65 6c 64 20 22 54 6f 70 | 69 63 73 22 0d 73 65 6c |eld "Top|ics".sel|
|000037b0| 65 63 74 20 6c 69 6e 65 | 20 73 75 62 74 6f 70 69 |ect line| subtopi|
|000037c0| 63 4c 69 6e 65 20 6f 66 | 20 62 67 20 66 69 65 6c |cLine of| bg fiel|
|000037d0| 64 20 22 53 75 62 74 6f | 70 69 63 73 22 0d 65 6e |d "Subto|pics".en|
|000037e0| 64 20 46 6f 75 6e 64 53 | 75 62 74 6f 70 69 63 43 |d FoundS|ubtopicC|
|000037f0| 6c 69 63 6b 65 64 0d 0d | 2d 2d 0d 0d 6f 6e 20 46 |licked..|--..on F|
|00003800| 6f 75 6e 64 4a 61 72 67 | 6f 6e 43 6c 69 63 6b 65 |oundJarg|onClicke|
|00003810| 64 20 66 69 65 6c 64 4c | 69 6e 65 2c 63 61 72 64 |d fieldL|ine,card|
|00003820| 49 64 0d 2d 2d 20 72 6f | 75 74 69 6e 65 20 63 61 |Id.-- ro|utine ca|
|00003830| 6c 6c 65 64 20 77 68 65 | 6e 20 61 20 6a 61 72 67 |lled whe|n a jarg|
|00003840| 6f 6e 20 69 74 65 6d 20 | 63 6c 69 63 6b 65 64 20 |on item |clicked |
|00003850| 6f 6e 20 69 6e 20 66 69 | 6e 64 20 77 69 6e 64 6f |on in fi|nd windo|
|00003860| 77 0d 2d 2d 20 67 6f 65 | 73 20 74 6f 20 74 68 65 |w.-- goe|s to the|
|00003870| 20 6a 61 72 67 6f 6e 20 | 63 61 72 64 20 61 6e 64 | jargon |card and|
|00003880| 20 73 65 6c 65 63 74 73 | 20 6c 69 6e 65 20 77 68 | selects| line wh|
|00003890| 65 72 65 20 66 6f 75 6e | 64 20 74 65 78 74 20 77 |ere foun|d text w|
|000038a0| 61 73 0d 0d 47 6f 43 61 | 72 64 49 64 20 63 61 72 |as..GoCa|rdId car|
|000038b0| 64 49 64 0d 73 65 6c 65 | 63 74 20 6c 69 6e 65 20 |dId.sele|ct line |
|000038c0| 66 69 65 6c 64 4c 69 6e | 65 20 6f 66 20 62 67 20 |fieldLin|e of bg |
|000038d0| 66 69 65 6c 64 20 22 54 | 65 78 74 22 0d 65 6e 64 |field "T|ext".end|
|000038e0| 20 46 6f 75 6e 64 4a 61 | 72 67 6f 6e 43 6c 69 63 | FoundJa|rgonClic|
|000038f0| 6b 65 64 0d 0d 2d 2d 0d | 0d 6f 6e 20 46 6f 75 6e |ked..--.|.on Foun|
|00003900| 64 42 75 74 74 6f 6e 43 | 6c 69 63 6b 65 64 20 63 |dButtonC|licked c|
|00003910| 61 72 64 49 64 2c 74 6f | 70 69 63 4c 69 6e 65 2c |ardId,to|picLine,|
|00003920| 6e 61 6d 65 0d 67 6f 20 | 63 61 72 64 20 69 64 20 |name.go |card id |
|00003930| 63 61 72 64 49 64 0d 63 | 6c 69 63 6b 20 61 74 20 |cardId.c|lick at |
|00003940| 74 68 65 20 6c 6f 63 20 | 6f 66 20 63 61 72 64 20 |the loc |of card |
|00003950| 62 75 74 74 6f 6e 20 6e | 61 6d 65 0d 65 6e 64 20 |button n|ame.end |
|00003960| 46 6f 75 6e 64 42 75 74 | 74 6f 6e 43 6c 69 63 6b |FoundBut|tonClick|
|00003970| 65 64 0d 0d 2d 2d 0d 2d | 2d 20 46 69 6c 65 20 26 |ed..--.-|- File &|
|00003980| 20 46 6f 6c 64 65 72 20 | 52 6f 75 74 69 6e 65 73 | Folder |Routines|
|00003990| 0d 2d 2d 0d 0d 66 75 6e | 63 74 69 6f 6e 20 53 74 |.--..fun|ction St|
|000039a0| 61 63 6b 46 6f 6c 64 65 | 72 0d 2d 2d 20 72 65 74 |ackFolde|r.-- ret|
|000039b0| 75 72 6e 73 20 70 61 74 | 68 20 6f 66 20 74 68 65 |urns pat|h of the|
|000039c0| 20 66 6f 6c 64 65 72 20 | 74 68 61 74 20 74 68 69 | folder |that thi|
|000039d0| 73 20 73 74 61 63 6b 20 | 69 73 20 69 6e 0d 0d 70 |s stack |is in..p|
|000039e0| 75 74 20 74 68 65 20 69 | 74 65 6d 44 65 6c 69 6d |ut the i|temDelim|
|000039f0| 69 74 65 72 20 69 6e 74 | 6f 20 6f 6c 64 44 65 6c |iter int|o oldDel|
|00003a00| 69 6d 69 74 65 72 0d 73 | 65 74 20 74 68 65 20 69 |imiter.s|et the i|
|00003a10| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 74 6f 20 |temDelim|iter to |
|00003a20| 71 75 6f 74 65 0d 67 65 | 74 20 69 74 65 6d 20 32 |quote.ge|t item 2|
|00003a30| 20 6f 66 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d | of the |long nam|
|00003a40| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 0d |e of thi|s stack.|
|00003a50| 73 65 74 20 74 68 65 20 | 69 74 65 6d 44 65 6c 69 |set the |itemDeli|
|00003a60| 6d 69 74 65 72 20 74 6f | 20 63 6f 6c 6f 6e 0d 64 |miter to| colon.d|
|00003a70| 65 6c 65 74 65 20 6c 61 | 73 74 20 69 74 65 6d 20 |elete la|st item |
|00003a80| 6f 66 20 69 74 0d 73 65 | 74 20 74 68 65 20 69 74 |of it.se|t the it|
|00003a90| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 6f |emDelimi|ter to o|
|00003aa0| 6c 64 44 65 6c 69 6d 69 | 74 65 72 0d 72 65 74 75 |ldDelimi|ter.retu|
|00003ab0| 72 6e 20 69 74 20 26 20 | 63 6f 6c 6f 6e 0d 65 6e |rn it & |colon.en|
|00003ac0| 64 20 53 74 61 63 6b 46 | 6f 6c 64 65 72 0d 0d 2d |d StackF|older..-|
|00003ad0| 2d 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 44 61 74 61 |-..funct|ion Data|
|00003ae0| 46 6f 6c 64 65 72 0d 2d | 2d 20 72 65 74 75 72 6e |Folder.-|- return|
|00003af0| 73 20 70 61 74 68 20 6f | 66 20 66 6f 6c 64 65 72 |s path o|f folder|
|00003b00| 20 77 68 65 72 65 20 61 | 6c 6c 20 6d 6f 76 69 65 | where a|ll movie|
|00003b10| 73 20 61 6e 64 20 64 61 | 74 61 20 69 73 20 73 74 |s and da|ta is st|
|00003b20| 6f 72 65 64 2e 0d 2d 2d | 20 49 66 20 74 68 65 20 |ored..--| If the |
|00003b30| 43 44 20 69 73 20 69 6e | 2c 20 69 74 20 72 65 74 |CD is in|, it ret|
|00003b40| 75 72 6e 73 20 74 68 65 | 20 64 65 66 61 75 6c 74 |urns the| default|
|00003b50| 20 70 61 74 68 20 74 6f | 20 74 68 65 20 43 44 2e | path to| the CD.|
|00003b60| 0d 2d 2d 20 49 66 20 6e | 6f 74 2c 20 69 74 20 72 |.-- If n|ot, it r|
|00003b70| 65 74 75 72 6e 73 20 74 | 68 65 20 70 61 74 68 20 |eturns t|he path |
|00003b80| 74 6f 20 74 68 65 20 66 | 6f 6c 64 65 72 20 74 68 |to the f|older th|
|00003b90| 61 74 20 74 68 65 20 73 | 74 61 63 6b 20 69 73 20 |at the s|tack is |
|00003ba0| 69 6e 2e 0d 2d 2d 20 49 | 74 20 6c 6f 6f 6b 73 20 |in..-- I|t looks |
|00003bb0| 61 74 20 74 68 65 20 67 | 6c 6f 62 61 6c 73 20 44 |at the g|lobals D|
|00003bc0| 69 73 63 4e 61 6d 65 20 | 61 6e 64 20 53 74 61 63 |iscName |and Stac|
|00003bd0| 6b 4e 61 6d 65 20 74 6f | 20 77 6f 72 6b 20 6f 75 |kName to| work ou|
|00003be0| 74 20 77 68 65 74 68 65 | 72 0d 2d 2d 20 74 68 65 |t whethe|r.-- the|
|00003bf0| 20 43 44 20 69 73 20 70 | 72 65 73 65 6e 74 2e 20 | CD is p|resent. |
|00003c00| 54 68 65 73 65 20 67 6c | 6f 62 61 6c 73 20 73 68 |These gl|obals sh|
|00003c10| 6f 75 6c 64 20 62 65 20 | 73 65 74 20 75 70 20 62 |ould be |set up b|
|00003c20| 79 20 74 68 65 20 73 74 | 61 63 6b 0d 2d 2d 20 69 |y the st|ack.-- i|
|00003c30| 74 73 65 6c 66 20 28 73 | 69 6e 63 65 20 74 68 65 |tself (s|ince the|
|00003c40| 79 20 77 69 6c 6c 20 76 | 61 72 79 20 66 6f 72 20 |y will v|ary for |
|00003c50| 65 61 63 68 20 73 74 61 | 63 6b 29 0d 0d 67 6c 6f |each sta|ck)..glo|
|00003c60| 62 61 6c 20 44 69 73 63 | 4e 61 6d 65 2c 20 53 74 |bal Disc|Name, St|
|00003c70| 61 63 6b 4e 61 6d 65 0d | 0d 69 66 20 74 68 65 72 |ackName.|.if ther|
|00003c80| 65 20 69 73 20 61 20 66 | 69 6c 65 20 44 69 73 63 |e is a f|ile Disc|
|00003c90| 4e 61 6d 65 20 26 20 63 | 6f 6c 6f 6e 20 26 20 53 |Name & c|olon & S|
|00003ca0| 74 61 63 6b 4e 61 6d 65 | 20 74 68 65 6e 0d 72 65 |tackName| then.re|
|00003cb0| 74 75 72 6e 20 44 69 73 | 63 4e 61 6d 65 20 26 20 |turn Dis|cName & |
|00003cc0| 63 6f 6c 6f 6e 0d 65 6c | 73 65 0d 72 65 74 75 72 |colon.el|se.retur|
|00003cd0| 6e 20 53 74 61 63 6b 46 | 6f 6c 64 65 72 28 29 0d |n StackF|older().|
|00003ce0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 44 61 74 61 46 |end if.e|nd DataF|
|00003cf0| 6f 6c 64 65 72 0d 0d 2d | 2d 0d 0d 66 75 6e 63 74 |older..-|-..funct|
|00003d00| 69 6f 6e 20 53 65 63 74 | 69 6f 6e 46 6f 6c 64 65 |ion Sect|ionFolde|
|00003d10| 72 20 73 65 63 74 69 6f | 6e 0d 2d 2d 20 72 65 74 |r sectio|n.-- ret|
|00003d20| 75 72 6e 73 20 70 61 74 | 68 20 6f 66 20 74 68 65 |urns pat|h of the|
|00003d30| 20 66 6f 6c 64 65 72 20 | 66 6f 72 20 61 20 73 65 | folder |for a se|
|00003d40| 63 74 69 6f 6e 0d 72 65 | 74 75 72 6e 20 44 61 74 |ction.re|turn Dat|
|00003d50| 61 46 6f 6c 64 65 72 28 | 29 20 26 20 73 65 63 74 |aFolder(|) & sect|
|00003d60| 69 6f 6e 0d 65 6e 64 20 | 53 65 63 74 69 6f 6e 46 |ion.end |SectionF|
|00003d70| 6f 6c 64 65 72 0d 0d 2d | 2d 0d 0d 66 75 6e 63 74 |older..-|-..funct|
|00003d80| 69 6f 6e 20 54 6f 70 69 | 63 46 6f 6c 64 65 72 20 |ion Topi|cFolder |
|00003d90| 73 65 63 74 69 6f 6e 2c | 74 6f 70 69 63 2c 74 6f |section,|topic,to|
|00003da0| 70 69 63 4e 75 6d 62 65 | 72 0d 2d 2d 20 72 65 74 |picNumbe|r.-- ret|
|00003db0| 75 72 6e 73 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |urns the| folder |
|00003dc0| 66 6f 72 20 61 20 74 6f | 70 69 63 0d 2d 2d 20 74 |for a to|pic.-- t|
|00003dd0| 6f 70 69 63 20 6e 75 6d | 62 65 72 20 69 73 20 61 |opic num|ber is a|
|00003de0| 64 64 65 64 20 74 6f 20 | 74 68 65 20 74 6f 70 69 |dded to |the topi|
|00003df0| 63 20 28 69 66 20 70 61 | 73 73 65 64 29 2c 20 74 |c (if pa|ssed), t|
|00003e00| 6f 0d 2d 2d 20 63 61 6c | 63 75 6c 61 74 65 20 74 |o.-- cal|culate t|
|00003e10| 68 65 20 74 72 75 65 20 | 66 6f 6c 64 65 72 20 6e |he true |folder n|
|00003e20| 61 6d 65 0d 0d 69 66 20 | 74 6f 70 69 63 4e 75 6d |ame..if |topicNum|
|00003e30| 62 65 72 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ber is n|ot empty|
|00003e40| 20 74 68 65 6e 0d 70 75 | 74 20 41 64 64 4e 75 6d | then.pu|t AddNum|
|00003e50| 62 65 72 28 74 6f 70 69 | 63 2c 74 6f 70 69 63 4e |ber(topi|c,topicN|
|00003e60| 75 6d 62 65 72 29 20 69 | 6e 74 6f 20 74 6f 70 69 |umber) i|nto topi|
|00003e70| 63 0d 65 6e 64 20 69 66 | 0d 0d 72 65 74 75 72 6e |c.end if|..return|
|00003e80| 20 53 65 63 74 69 6f 6e | 46 6f 6c 64 65 72 28 73 | Section|Folder(s|
|00003e90| 65 63 74 69 6f 6e 29 20 | 26 20 63 6f 6c 6f 6e 20 |ection) |& colon |
|00003ea0| 26 20 74 6f 70 69 63 0d | 65 6e 64 20 54 6f 70 69 |& topic.|end Topi|
|00003eb0| 63 46 6f 6c 64 65 72 0d | 0d 2d 2d 0d 0d 66 75 6e |cFolder.|.--..fun|
|00003ec0| 63 74 69 6f 6e 20 53 75 | 62 74 6f 70 69 63 46 69 |ction Su|btopicFi|
|00003ed0| 6c 65 20 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |le secti|on,topic|
|00003ee0| 2c 73 75 62 74 6f 70 69 | 63 2c 74 6f 70 69 63 4e |,subtopi|c,topicN|
|00003ef0| 75 6d 62 65 72 2c 73 75 | 62 74 6f 70 69 63 4e 75 |umber,su|btopicNu|
|00003f00| 6d 62 65 72 0d 2d 2d 20 | 72 65 74 75 72 6e 73 20 |mber.-- |returns |
|00003f10| 74 68 65 20 70 61 74 68 | 20 66 6f 72 20 61 20 73 |the path| for a s|
|00003f20| 75 62 74 6f 70 69 63 20 | 66 69 6c 65 0d 2d 2d 20 |ubtopic |file.-- |
|00003f30| 74 6f 70 69 63 20 61 6e | 64 20 73 75 62 74 6f 70 |topic an|d subtop|
|00003f40| 69 63 20 6e 75 6d 62 65 | 72 73 20 61 72 65 20 61 |ic numbe|rs are a|
|00003f50| 64 64 65 64 20 28 69 66 | 20 70 61 73 73 65 64 29 |dded (if| passed)|
|00003f60| 2c 20 74 6f 0d 2d 2d 20 | 63 61 6c 63 75 6c 61 74 |, to.-- |calculat|
|00003f70| 65 20 74 68 65 20 74 72 | 75 65 20 66 69 6c 65 20 |e the tr|ue file |
|00003f80| 6e 61 6d 65 20 61 6e 64 | 20 70 61 74 68 0d 0d 69 |name and| path..i|
|00003f90| 66 20 73 75 62 74 6f 70 | 69 63 4e 75 6d 62 65 72 |f subtop|icNumber|
|00003fa0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00003fb0| 65 6e 0d 70 75 74 20 41 | 64 64 4e 75 6d 62 65 72 |en.put A|ddNumber|
|00003fc0| 28 73 75 62 74 6f 70 69 | 63 2c 73 75 62 74 6f 70 |(subtopi|c,subtop|
|00003fd0| 69 63 4e 75 6d 62 65 72 | 29 20 69 6e 74 6f 20 73 |icNumber|) into s|
|00003fe0| 75 62 74 6f 70 69 63 0d | 65 6e 64 20 69 66 0d 0d |ubtopic.|end if..|
|00003ff0| 72 65 74 75 72 6e 20 54 | 6f 70 69 63 46 6f 6c 64 |return T|opicFold|
|00004000| 65 72 28 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |er(secti|on,topic|
|00004010| 2c 74 6f 70 69 63 4e 75 | 6d 62 65 72 29 20 26 20 |,topicNu|mber) & |
|00004020| 63 6f 6c 6f 6e 20 26 20 | 73 75 62 74 6f 70 69 63 |colon & |subtopic|
|00004030| 0d 65 6e 64 20 53 75 62 | 74 6f 70 69 63 46 69 6c |.end Sub|topicFil|
|00004040| 65 0d 0d 2d 2d 0d 0d 6f | 6e 20 4f 70 65 6e 4d 6f |e..--..o|n OpenMo|
|00004050| 76 69 65 20 73 65 63 74 | 69 6f 6e 2c 74 6f 70 69 |vie sect|ion,topi|
|00004060| 63 2c 73 75 62 74 6f 70 | 69 63 2c 74 4e 75 6d 2c |c,subtop|ic,tNum,|
|00004070| 73 4e 75 6d 0d 2d 2d 20 | 6f 70 65 6e 20 61 20 73 |sNum.-- |open a s|
|00004080| 75 62 74 6f 70 69 63 20 | 6d 6f 76 69 65 0d 2d 2d |ubtopic |movie.--|
|00004090| 20 63 61 6c 6c 73 20 53 | 75 62 74 6f 70 69 63 46 | calls S|ubtopicF|
|000040a0| 69 6c 65 20 74 6f 20 67 | 65 74 20 70 61 74 68 20 |ile to g|et path |
|000040b0| 6f 66 20 66 69 6c 65 2c | 20 61 6e 64 20 51 54 4d |of file,| and QTM|
|000040c0| 6f 76 69 65 20 74 6f 20 | 73 68 6f 77 20 6d 6f 76 |ovie to |show mov|
|000040d0| 69 65 0d 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ie..set |cursor t|
|000040e0| 6f 20 77 61 74 63 68 0d | 0d 2d 2d 20 67 65 74 20 |o watch.|.-- get |
|000040f0| 70 61 74 68 20 6f 66 20 | 6d 6f 76 69 65 20 66 69 |path of |movie fi|
|00004100| 6c 65 0d 70 75 74 20 53 | 75 62 74 6f 70 69 63 46 |le.put S|ubtopicF|
|00004110| 69 6c 65 28 73 65 63 74 | 69 6f 6e 2c 74 6f 70 69 |ile(sect|ion,topi|
|00004120| 63 2c 73 75 62 74 6f 70 | 69 63 2c 74 4e 75 6d 2c |c,subtop|ic,tNum,|
|00004130| 73 4e 75 6d 29 20 69 6e | 74 6f 20 4d 6f 76 69 65 |sNum) in|to Movie|
|00004140| 50 61 74 68 0d 69 66 20 | 73 4e 75 6d 20 69 73 20 |Path.if |sNum is |
|00004150| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00004160| 75 74 20 41 64 64 4e 75 | 6d 62 65 72 28 73 75 62 |ut AddNu|mber(sub|
|00004170| 74 6f 70 69 63 2c 73 4e | 75 6d 29 20 69 6e 74 6f |topic,sN|um) into|
|00004180| 20 4d 6f 76 69 65 4e 61 | 6d 65 0d 65 6c 73 65 0d | MovieNa|me.else.|
|00004190| 70 75 74 20 73 75 62 74 | 6f 70 69 63 20 69 6e 74 |put subt|opic int|
|000041a0| 6f 20 4d 6f 76 69 65 4e | 61 6d 65 0d 65 6e 64 20 |o MovieN|ame.end |
|000041b0| 69 66 0d 0d 2d 2d 20 72 | 65 61 6c 20 6e 61 6d 65 |if..-- r|eal name|
|000041c0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 69 6e 63 6c 75 | of wind|ow inclu|
|000041d0| 64 65 73 20 6e 61 6d 65 | 20 6f 66 20 73 65 63 74 |des name| of sect|
|000041e0| 69 6f 6e 0d 70 75 74 20 | 73 65 63 74 69 6f 6e 20 |ion.put |section |
|000041f0| 26 20 22 3a 20 22 20 26 | 20 73 75 62 74 6f 70 69 |& ": " &| subtopi|
|00004200| 63 20 69 6e 74 6f 20 52 | 65 61 6c 4e 61 6d 65 0d |c into R|ealName.|
|00004210| 0d 2d 2d 20 6d 61 6b 65 | 20 74 68 65 20 77 69 6e |.-- make| the win|
|00004220| 64 6f 77 0d 51 54 4d 6f | 76 69 65 20 22 4f 70 65 |dow.QTMo|vie "Ope|
|00004230| 6e 4d 6f 76 69 65 22 2c | 28 31 30 30 33 2a 31 36 |nMovie",|(1003*16|
|00004240| 29 2b 32 2c 4d 6f 76 69 | 65 50 61 74 68 2c 22 30 |)+2,Movi|ePath,"0|
|00004250| 2c 30 22 2c 49 6e 76 69 | 73 69 62 6c 65 2c 62 61 |,0",Invi|sible,ba|
|00004260| 64 67 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |dge.if t|here is |
|00004270| 61 20 77 69 6e 64 6f 77 | 20 4d 6f 76 69 65 4e 61 |a window| MovieNa|
|00004280| 6d 65 20 74 68 65 6e 0d | 67 65 74 20 74 68 65 20 |me then.|get the |
|00004290| 6d 6f 76 69 65 52 65 63 | 74 20 6f 66 20 77 69 6e |movieRec|t of win|
|000042a0| 64 6f 77 20 4d 6f 76 69 | 65 4e 61 6d 65 0d 70 75 |dow Movi|eName.pu|
|000042b0| 74 20 28 28 74 68 65 20 | 77 69 64 74 68 20 6f 66 |t ((the |width of|
|000042c0| 20 74 68 65 20 63 61 72 | 64 20 77 69 6e 64 6f 77 | the car|d window|
|000042d0| 29 20 2d 20 28 69 74 65 | 6d 20 33 20 6f 66 20 69 |) - (ite|m 3 of i|
|000042e0| 74 29 29 20 64 69 76 20 | 32 20 69 6e 74 6f 20 78 |t)) div |2 into x|
|000042f0| 0d 70 75 74 20 28 28 74 | 68 65 20 68 65 69 67 68 |.put ((t|he heigh|
|00004300| 74 20 6f 66 20 74 68 65 | 20 63 61 72 64 20 77 69 |t of the| card wi|
|00004310| 6e 64 6f 77 29 20 2d 20 | 28 69 74 65 6d 20 34 20 |ndow) - |(item 4 |
|00004320| 6f 66 20 69 74 29 29 20 | 64 69 76 20 32 20 69 6e |of it)) |div 2 in|
|00004330| 74 6f 20 79 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |to y.set| the loc|
|00004340| 20 6f 66 20 77 69 6e 64 | 6f 77 20 4d 6f 76 69 65 | of wind|ow Movie|
|00004350| 4e 61 6d 65 20 74 6f 20 | 78 2c 79 0d 73 65 74 20 |Name to |x,y.set |
|00004360| 74 68 65 20 77 69 6e 64 | 6f 77 4e 61 6d 65 20 6f |the wind|owName o|
|00004370| 66 20 77 69 6e 64 6f 77 | 20 4d 6f 76 69 65 4e 61 |f window| MovieNa|
|00004380| 6d 65 20 74 6f 20 52 65 | 61 6c 4e 61 6d 65 0d 73 |me to Re|alName.s|
|00004390| 68 6f 77 20 77 69 6e 64 | 6f 77 20 52 65 61 6c 4e |how wind|ow RealN|
|000043a0| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 4f |ame.end |if.end O|
|000043b0| 70 65 6e 4d 6f 76 69 65 | 0d 0d 2d 2d 0d 0d 66 75 |penMovie|..--..fu|
|000043c0| 6e 63 74 69 6f 6e 20 41 | 64 64 4e 75 6d 62 65 72 |nction A|ddNumber|
|000043d0| 20 6e 61 6d 65 2c 6e 75 | 6d 62 65 72 0d 2d 2d 20 | name,nu|mber.-- |
|000043e0| 74 68 69 73 20 72 6f 75 | 74 69 6e 65 20 61 64 64 |this rou|tine add|
|000043f0| 73 20 61 20 6e 75 6d 62 | 65 72 20 74 6f 20 61 20 |s a numb|er to a |
|00004400| 66 69 6c 65 20 6e 61 6d | 65 0d 2d 2d 20 66 69 6c |file nam|e.-- fil|
|00004410| 65 73 20 61 6e 64 20 66 | 6f 6c 64 65 72 73 20 61 |es and f|olders a|
|00004420| 72 65 20 6e 75 6d 62 65 | 72 65 64 20 74 6f 20 6d |re numbe|red to m|
|00004430| 61 6b 65 20 73 75 72 65 | 20 74 68 65 79 20 61 70 |ake sure| they ap|
|00004440| 70 65 61 72 20 69 6e 0d | 0d 69 66 20 6c 65 6e 67 |pear in.|.if leng|
|00004450| 74 68 28 6e 75 6d 62 65 | 72 29 20 3d 20 31 20 74 |th(numbe|r) = 1 t|
|00004460| 68 65 6e 20 70 75 74 20 | 22 30 22 20 62 65 66 6f |hen put |"0" befo|
|00004470| 72 65 20 6e 75 6d 62 65 | 72 0d 72 65 74 75 72 6e |re numbe|r.return|
|00004480| 20 6e 75 6d 62 65 72 20 | 26 26 20 6e 61 6d 65 0d | number |&& name.|
|00004490| 65 6e 64 20 41 64 64 4e | 75 6d 62 65 72 0d 0d 0d |end AddN|umber...|
|000044a0| 2d 2d 0d 2d 2d 20 47 65 | 6e 65 72 61 6c 20 55 74 |--.-- Ge|neral Ut|
|000044b0| 69 6c 69 74 79 20 52 6f | 75 74 69 6e 65 73 0d 2d |ility Ro|utines.-|
|000044c0| 2d 0d 0d 6f 6e 20 4e 61 | 6d 65 43 61 72 64 0d 2d |-..on Na|meCard.-|
|000044d0| 2d 20 6e 61 6d 65 20 74 | 68 69 73 20 63 61 72 64 |- name t|his card|
|000044e0| 2c 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 63 |, based |on the c|
|000044f0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 74 |ontents |of the t|
|00004500| 61 72 67 65 74 20 66 69 | 65 6c 64 0d 0d 70 75 74 |arget fi|eld..put|
|00004510| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 61 72 67 65 | line 1 |of targe|
|00004520| 74 20 69 6e 74 6f 20 74 | 61 72 67 65 74 0d 73 65 |t into t|arget.se|
|00004530| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |t the na|me of th|
|00004540| 69 73 20 63 61 72 64 20 | 74 6f 20 74 61 72 67 65 |is card |to targe|
|00004550| 74 0d 65 6e 64 20 4e 61 | 6d 65 43 61 72 64 0d 0d |t.end Na|meCard..|
|00004560| 2d 2d 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 43 61 72 |--..func|tion Car|
|00004570| 64 45 78 69 73 74 73 20 | 63 4e 61 6d 65 2c 62 4e |dExists |cName,bN|
|00004580| 61 6d 65 0d 2d 2d 20 72 | 65 74 75 72 6e 73 20 62 |ame.-- r|eturns b|
|00004590| 6f 6f 6c 65 61 6e 20 73 | 61 79 69 6e 67 20 77 68 |oolean s|aying wh|
|000045a0| 65 74 68 65 72 20 6e 61 | 6d 65 64 20 63 61 72 64 |ether na|med card|
|000045b0| 20 65 78 69 73 74 73 20 | 6f 6e 0d 2d 2d 20 6e 61 | exists |on.-- na|
|000045c0| 6d 65 64 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 0d |med back|ground..|
|000045d0| 72 65 74 75 72 6e 20 28 | 74 68 65 72 65 20 69 73 |return (|there is|
|000045e0| 20 61 20 63 61 72 64 20 | 63 4e 61 6d 65 20 6f 66 | a card |cName of|
|000045f0| 20 62 67 20 62 4e 61 6d | 65 29 0d 65 6e 64 20 43 | bg bNam|e).end C|
|00004600| 61 72 64 45 78 69 73 74 | 73 0d 0d 2d 2d 0d 0d 66 |ardExist|s..--..f|
|00004610| 75 6e 63 74 69 6f 6e 20 | 43 61 72 64 4e 61 6d 65 |unction |CardName|
|00004620| 20 63 4e 61 6d 65 0d 2d | 2d 20 63 6f 6e 73 74 72 | cName.-|- constr|
|00004630| 75 63 74 73 20 61 20 63 | 61 72 64 20 6e 61 6d 65 |ucts a c|ard name|
|00004640| 20 66 72 6f 6d 20 61 6e | 20 61 63 74 75 61 6c 20 | from an| actual |
|00004650| 6e 61 6d 65 0d 2d 2d 20 | 28 74 68 69 73 20 61 6c |name.-- |(this al|
|00004660| 6c 6f 77 73 20 75 73 20 | 74 6f 20 6d 61 70 20 72 |lows us |to map r|
|00004670| 65 61 6c 20 6e 61 6d 65 | 73 20 74 6f 20 73 6f 6d |eal name|s to som|
|00004680| 65 74 68 69 6e 67 20 65 | 6c 73 65 20 6c 61 74 65 |ething e|lse late|
|00004690| 72 21 29 0d 0d 72 65 74 | 75 72 6e 20 63 4e 61 6d |r!)..ret|urn cNam|
|000046a0| 65 0d 65 6e 64 20 43 61 | 72 64 4e 61 6d 65 0d 0d |e.end Ca|rdName..|
|000046b0| 2d 2d 0d 0d 6f 6e 20 52 | 65 6d 6f 76 65 42 6c 61 |--..on R|emoveBla|
|000046c0| 6e 6b 4c 69 6e 65 73 0d | 72 65 70 65 61 74 20 75 |nkLines.|repeat u|
|000046d0| 6e 74 69 6c 20 6c 61 73 | 74 20 63 68 61 72 20 6f |ntil las|t char o|
|000046e0| 66 20 74 61 72 67 65 74 | 20 69 73 20 6e 6f 74 20 |f target| is not |
|000046f0| 72 65 74 75 72 6e 0d 64 | 65 6c 65 74 65 20 6c 61 |return.d|elete la|
|00004700| 73 74 20 63 68 61 72 20 | 6f 66 20 74 68 65 20 74 |st char |of the t|
|00004710| 61 72 67 65 74 0d 65 6e | 64 20 72 65 70 65 61 74 |arget.en|d repeat|
|00004720| 0d 65 6e 64 20 52 65 6d | 6f 76 65 42 6c 61 6e 6b |.end Rem|oveBlank|
|00004730| 4c 69 6e 65 73 0d 0d 2d | 2d 0d 0d 6f 6e 20 53 65 |Lines..-|-..on Se|
|00004740| 63 74 69 6f 6e 52 65 63 | 74 0d 67 65 74 20 74 68 |ctionRec|t.get th|
|00004750| 65 20 72 65 63 74 20 6f | 66 20 62 67 20 66 69 65 |e rect o|f bg fie|
|00004760| 6c 64 20 22 54 6f 70 69 | 63 73 22 20 6f 66 20 63 |ld "Topi|cs" of c|
|00004770| 61 72 64 20 31 20 6f 66 | 20 62 67 20 22 52 65 66 |ard 1 of| bg "Ref|
|00004780| 65 72 65 6e 63 65 22 0d | 73 65 74 20 74 68 65 20 |erence".|set the |
|00004790| 72 65 63 74 20 6f 66 20 | 74 68 65 20 74 61 72 67 |rect of |the targ|
|000047a0| 65 74 20 74 6f 20 69 74 | 0d 65 6e 64 20 53 65 63 |et to it|.end Sec|
|000047b0| 74 69 6f 6e 52 65 63 74 | 0d 0d 2d 2d 0d 0d 6f 6e |tionRect|..--..on|
|000047c0| 20 42 61 63 6b 54 6f 54 | 6f 70 69 63 49 6e 64 65 | BackToT|opicInde|
|000047d0| 78 0d 2d 2d 20 67 6f 20 | 62 61 63 6b 20 74 6f 20 |x.-- go |back to |
|000047e0| 74 68 65 20 74 6f 70 69 | 63 20 69 6e 64 65 78 20 |the topi|c index |
|000047f0| 66 72 6f 6d 20 61 20 70 | 72 6f 62 6c 65 6d 0d 0d |from a p|roblem..|
|00004800| 76 69 73 75 61 6c 20 65 | 66 66 65 63 74 20 62 61 |visual e|ffect ba|
|00004810| 72 6e 20 64 6f 6f 72 20 | 63 6c 6f 73 65 0d 67 6f |rn door |close.go|
|00004820| 20 74 6f 20 63 61 72 64 | 20 22 54 6f 70 69 63 73 | to card| "Topics|
|00004830| 22 0d 65 6e 64 20 42 61 | 63 6b 54 6f 54 6f 70 69 |".end Ba|ckToTopi|
|00004840| 63 49 6e 64 65 78 0d 0d | 2d 2d 0d 0d 6f 6e 20 56 |cIndex..|--..on V|
|00004850| 69 65 77 42 75 74 74 6f | 6e 4d 6f 76 69 65 0d 2d |iewButto|nMovie.-|
|00004860| 2d 20 76 69 65 77 20 61 | 20 6d 6f 76 69 65 20 66 |- view a| movie f|
|00004870| 69 6c 65 20 66 72 6f 6d | 20 61 20 62 75 74 74 6f |ile from| a butto|
|00004880| 6e 20 28 67 65 74 20 6d | 6f 76 69 65 20 6e 61 6d |n (get m|ovie nam|
|00004890| 65 20 66 72 6f 6d 20 62 | 75 74 74 6f 6e 20 6e 61 |e from b|utton na|
|000048a0| 6d 65 29 0d 0d 67 65 74 | 20 74 68 65 20 73 68 6f |me)..get| the sho|
|000048b0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|000048c0| 62 67 0d 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |bg.if th|e number|
|000048d0| 20 6f 66 20 77 6f 72 64 | 73 20 69 6e 20 69 74 20 | of word|s in it |
|000048e0| 3e 20 31 20 74 68 65 6e | 0d 64 65 6c 65 74 65 20 |> 1 then|.delete |
|000048f0| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 69 74 0d |last wor|d of it.|
|00004900| 65 6e 64 20 69 66 0d 0d | 70 75 74 20 69 74 20 69 |end if..|put it i|
|00004910| 6e 74 6f 20 73 65 63 74 | 69 6f 6e 0d 70 75 74 20 |nto sect|ion.put |
|00004920| 62 67 20 66 69 65 6c 64 | 20 22 54 6f 70 69 63 22 |bg field| "Topic"|
|00004930| 20 69 6e 74 6f 20 74 6f | 70 69 63 0d 70 75 74 20 | into to|pic.put |
|00004940| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00004950| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 69 6e 74 |f the ta|rget int|
|00004960| 6f 20 73 75 62 74 6f 70 | 69 63 0d 4f 70 65 6e 4d |o subtop|ic.OpenM|
|00004970| 6f 76 69 65 20 73 65 63 | 74 69 6f 6e 2c 74 6f 70 |ovie sec|tion,top|
|00004980| 69 63 2c 20 73 75 62 74 | 6f 70 69 63 0d 65 6e 64 |ic, subt|opic.end|
|00004990| 20 56 69 65 77 42 75 74 | 74 6f 6e 4d 6f 76 69 65 | ViewBut|tonMovie|
|000049a0| 0d 0d 2d 2d 0d 0d 6f 6e | 20 4c 6f 63 6b 53 74 75 |..--..on| LockStu|
|000049b0| 66 66 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |ff.lock |screen.s|
|000049c0| 65 74 20 74 68 65 20 6c | 6f 63 6b 52 65 63 65 6e |et the l|ockRecen|
|000049d0| 74 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 74 68 |t to tru|e.set th|
|000049e0| 65 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |e lockMe|ssages t|
|000049f0| 6f 20 74 72 75 65 0d 65 | 6e 64 20 4c 6f 63 6b 53 |o true.e|nd LockS|
|00004a00| 74 75 66 66 0d 0d 2d 2d | 0d 0d 6f 6e 20 55 6e 6c |tuff..--|..on Unl|
|00004a10| 6f 63 6b 53 74 75 66 66 | 0d 73 65 74 20 74 68 65 |ockStuff|.set the|
|00004a20| 20 6c 6f 63 6b 52 65 63 | 65 6e 74 20 74 6f 20 66 | lockRec|ent to f|
|00004a30| 61 6c 73 65 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |alse.set| the loc|
|00004a40| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 66 61 6c |kMessage|s to fal|
|00004a50| 73 65 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |se.unloc|k screen|
|00004a60| 0d 65 6e 64 20 55 6e 6c | 6f 63 6b 53 74 75 66 66 |.end Unl|ockStuff|
|00004a70| 0d 0d 2d 2d 0d 0d 6f 6e | 20 53 65 74 75 70 49 63 |..--..on| SetupIc|
|00004a80| 6f 6e 20 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |on secti|on,topic|
|00004a90| 2c 73 75 62 74 6f 70 69 | 63 0d 2d 2d 20 64 69 6d |,subtopi|c.-- dim|
|00004aa0| 2f 73 68 6f 77 20 69 63 | 6f 6e 20 64 65 70 65 6e |/show ic|on depen|
|00004ab0| 64 69 6e 67 20 6f 6e 20 | 77 68 65 74 68 65 72 20 |ding on |whether |
|00004ac0| 6d 6f 76 69 65 20 69 73 | 20 70 72 65 73 65 6e 74 |movie is| present|
|00004ad0| 0d 0d 67 65 74 20 53 75 | 62 74 6f 70 69 63 46 69 |..get Su|btopicFi|
|00004ae0| 6c 65 28 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |le(secti|on,topic|
|00004af0| 2c 73 75 62 74 6f 70 69 | 63 29 0d 69 66 20 74 68 |,subtopi|c).if th|
|00004b00| 65 72 65 20 69 73 20 61 | 20 66 69 6c 65 20 69 74 |ere is a| file it|
|00004b10| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 69 63 | then.se|t the ic|
|00004b20| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 22 54 56 |on of bg| btn "TV|
|00004b30| 22 20 74 6f 20 22 47 6f | 74 20 4d 6f 76 69 65 22 |" to "Go|t Movie"|
|00004b40| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 69 63 |.else.se|t the ic|
|00004b50| 6f 6e 20 6f 66 20 62 67 | 20 62 74 6e 20 22 54 56 |on of bg| btn "TV|
|00004b60| 22 20 74 6f 20 22 4e 6f | 74 20 47 6f 74 20 4d 6f |" to "No|t Got Mo|
|00004b70| 76 69 65 22 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |vie".end| if.end |
|00004b80| 53 65 74 75 70 49 63 6f | 6e 0d 0d 2d 2d 0d 0d 6f |SetupIco|n..--..o|
|00004b90| 6e 20 55 70 64 61 74 65 | 49 6e 64 65 78 53 65 6c |n Update|IndexSel|
|00004ba0| 65 63 74 69 6f 6e 0d 67 | 65 74 20 74 68 65 20 6e |ection.g|et the n|
|00004bb0| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 20 31 20 |umber of| card 1 |
|00004bc0| 6f 66 20 74 68 69 73 20 | 62 67 0d 67 65 74 20 74 |of this |bg.get t|
|00004bd0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 69 |he numbe|r of thi|
|00004be0| 73 20 63 61 72 64 20 2d | 20 69 74 20 2b 20 31 0d |s card -| it + 1.|
|00004bf0| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 69 74 20 6f |select l|ine it o|
|00004c00| 66 20 62 67 20 66 6c 64 | 20 22 69 6e 64 65 78 22 |f bg fld| "index"|
|00004c10| 0d 65 6e 64 20 55 70 64 | 61 74 65 49 6e 64 65 78 |.end Upd|ateIndex|
|00004c20| 53 65 6c 65 63 74 69 6f | 6e 0d 0d 2d 2d 0d 0d 6f |Selectio|n..--..o|
|00004c30| 6e 20 52 65 6d 65 6d 62 | 65 72 53 63 72 6f 6c 6c |n Rememb|erScroll|
|00004c40| 0d 67 6c 6f 62 61 6c 20 | 67 4f 6c 64 53 63 72 6f |.global |gOldScro|
|00004c50| 6c 6c 0d 0d 70 75 74 20 | 74 68 65 20 73 63 72 6f |ll..put |the scro|
|00004c60| 6c 6c 20 6f 66 20 62 67 | 20 66 6c 64 20 22 69 6e |ll of bg| fld "in|
|00004c70| 64 65 78 22 20 69 6e 74 | 6f 20 67 4f 6c 64 53 63 |dex" int|o gOldSc|
|00004c80| 72 6f 6c 6c 0d 65 6e 64 | 20 52 65 6d 65 6d 62 65 |roll.end| Remembe|
|00004c90| 72 53 63 72 6f 6c 6c 0d | 0d 2d 2d 0d 0d 6f 6e 20 |rScroll.|.--..on |
|00004ca0| 52 65 73 65 74 53 63 72 | 6f 6c 6c 0d 67 6c 6f 62 |ResetScr|oll.glob|
|00004cb0| 61 6c 20 67 4f 6c 64 53 | 63 72 6f 6c 6c 0d 0d 73 |al gOldS|croll..s|
|00004cc0| 65 74 20 74 68 65 20 73 | 63 72 6f 6c 6c 20 6f 66 |et the s|croll of|
|00004cd0| 20 62 67 20 66 6c 64 20 | 22 69 6e 64 65 78 22 20 | bg fld |"index" |
|00004ce0| 74 6f 20 67 4f 6c 64 53 | 63 72 6f 6c 6c 0d 55 70 |to gOldS|croll.Up|
|00004cf0| 64 61 74 65 49 6e 64 65 | 78 53 65 6c 65 63 74 69 |dateInde|xSelecti|
|00004d00| 6f 6e 0d 65 6e 64 20 52 | 65 73 65 74 53 63 72 6f |on.end R|esetScro|
|00004d10| 6c 6c 0d 0d 0d 2d 2d 0d | 2d 2d 20 54 6f 70 69 63 |ll...--.|-- Topic|
|00004d20| 73 20 26 20 53 75 62 74 | 6f 70 69 63 73 20 4d 65 |s & Subt|opics Me|
|00004d30| 6e 75 20 52 6f 75 74 69 | 6e 65 73 0d 2d 2d 0d 0d |nu Routi|nes.--..|
|00004d40| 6f 6e 20 4d 6f 75 73 65 | 55 70 4f 6e 54 6f 70 69 |on Mouse|UpOnTopi|
|00004d50| 63 20 73 65 63 74 69 6f | 6e 0d 73 65 74 20 63 75 |c sectio|n.set cu|
|00004d60| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 67 65 |rsor to |watch.ge|
|00004d70| 74 20 74 68 65 20 6f 70 | 74 69 6f 6e 4b 65 79 0d |t the op|tionKey.|
|00004d80| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 0d 70 75 74 |lock scr|een..put|
|00004d90| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 73 | word 2 |of the s|
|00004da0| 65 6c 65 63 74 65 64 4c | 69 6e 65 20 6f 66 20 74 |electedL|ine of t|
|00004db0| 68 65 20 74 61 72 67 65 | 74 20 69 6e 74 6f 20 62 |he targe|t into b|
|00004dc0| 67 20 66 69 65 6c 64 20 | 22 54 6f 70 69 63 20 4e |g field |"Topic N|
|00004dd0| 75 6d 62 65 72 22 0d 70 | 75 74 20 74 68 65 20 73 |umber".p|ut the s|
|00004de0| 65 6c 65 63 74 65 64 54 | 65 78 74 20 6f 66 20 74 |electedT|ext of t|
|00004df0| 68 65 20 74 61 72 67 65 | 74 20 69 6e 74 6f 20 74 |he targe|t into t|
|00004e00| 6f 70 69 63 0d 73 65 6c | 65 63 74 20 6c 69 6e 65 |opic.sel|ect line|
|00004e10| 20 30 20 6f 66 20 62 67 | 20 66 69 65 6c 64 20 22 | 0 of bg| field "|
|00004e20| 53 75 62 74 6f 70 69 63 | 73 22 0d 0d 69 66 20 54 |Subtopic|s"..if T|
|00004e30| 6f 70 69 63 73 46 72 6f | 6d 46 69 6e 64 65 72 28 |opicsFro|mFinder(|
|00004e40| 73 65 63 74 69 6f 6e 29 | 20 74 68 65 6e 0d 53 68 |section)| then.Sh|
|00004e50| 6f 77 46 69 6c 65 53 75 | 62 74 6f 70 69 63 73 20 |owFileSu|btopics |
|00004e60| 73 65 63 74 69 6f 6e 2c | 74 6f 70 69 63 0d 0d 65 |section,|topic..e|
|00004e70| 6c 73 65 20 69 66 20 69 | 74 20 69 73 20 64 6f 77 |lse if i|t is dow|
|00004e80| 6e 20 74 68 65 6e 0d 45 | 64 69 74 53 75 62 74 6f |n then.E|ditSubto|
|00004e90| 70 69 63 73 20 73 65 63 | 74 69 6f 6e 2c 74 6f 70 |pics sec|tion,top|
|00004ea0| 69 63 0d 65 6c 73 65 0d | 53 68 6f 77 53 75 62 74 |ic.else.|ShowSubt|
|00004eb0| 6f 70 69 63 73 20 73 65 | 63 74 69 6f 6e 2c 74 6f |opics se|ction,to|
|00004ec0| 70 69 63 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 4d |pic.end |if.end M|
|00004ed0| 6f 75 73 65 55 70 4f 6e | 54 6f 70 69 63 0d 0d 2d |ouseUpOn|Topic..-|
|00004ee0| 2d 0d 0d 6f 6e 20 4d 6f | 75 73 65 55 70 4f 6e 54 |-..on Mo|useUpOnT|
|00004ef0| 6f 70 69 63 42 74 6e 0d | 67 65 74 20 74 68 65 20 |opicBtn.|get the |
|00004f00| 63 6c 69 63 6b 4c 6f 63 | 0d 61 64 64 20 33 32 20 |clickLoc|.add 32 |
|00004f10| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 0d |to item |1 of it.|
|00004f20| 63 6c 69 63 6b 20 61 74 | 20 69 74 0d 65 6e 64 20 |click at| it.end |
|00004f30| 4d 6f 75 73 65 55 70 4f | 6e 54 6f 70 69 63 42 74 |MouseUpO|nTopicBt|
|00004f40| 6e 0d 0d 2d 2d 0d 0d 6f | 6e 20 4d 6f 75 73 65 55 |n..--..o|n MouseU|
|00004f50| 70 4f 6e 53 75 62 74 6f | 70 69 63 20 73 65 63 74 |pOnSubto|pic sect|
|00004f60| 69 6f 6e 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ion.set |cursor t|
|00004f70| 6f 20 77 61 74 63 68 0d | 0d 70 75 74 20 77 6f 72 |o watch.|.put wor|
|00004f80| 64 20 32 20 6f 66 20 74 | 68 65 20 73 65 6c 65 63 |d 2 of t|he selec|
|00004f90| 74 65 64 4c 69 6e 65 20 | 6f 66 20 74 68 65 20 74 |tedLine |of the t|
|00004fa0| 61 72 67 65 74 20 69 6e | 74 6f 20 62 67 20 66 69 |arget in|to bg fi|
|00004fb0| 65 6c 64 20 22 53 75 62 | 74 6f 70 69 63 20 4e 75 |eld "Sub|topic Nu|
|00004fc0| 6d 62 65 72 22 0d 70 75 | 74 20 74 68 65 20 73 65 |mber".pu|t the se|
|00004fd0| 6c 65 63 74 65 64 54 65 | 78 74 20 6f 66 20 74 61 |lectedTe|xt of ta|
|00004fe0| 72 67 65 74 20 69 6e 74 | 6f 20 73 75 62 74 6f 70 |rget int|o subtop|
|00004ff0| 69 63 0d 70 75 74 20 6c | 69 6e 65 20 28 62 67 20 |ic.put l|ine (bg |
|00005000| 66 69 65 6c 64 20 22 54 | 6f 70 69 63 20 4e 75 6d |field "T|opic Num|
|00005010| 62 65 72 22 29 20 6f 66 | 20 62 67 20 66 69 65 6c |ber") of| bg fiel|
|00005020| 64 20 22 54 6f 70 69 63 | 73 22 20 69 6e 74 6f 20 |d "Topic|s" into |
|00005030| 74 6f 70 69 63 0d 6c 6f | 63 6b 20 73 63 72 65 65 |topic.lo|ck scree|
|00005040| 6e 0d 0d 69 66 20 73 75 | 62 74 6f 70 69 63 20 69 |n..if su|btopic i|
|00005050| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005060| 0d 69 66 20 54 6f 70 69 | 63 73 46 72 6f 6d 46 69 |.if Topi|csFromFi|
|00005070| 6e 64 65 72 28 73 65 63 | 74 69 6f 6e 29 20 74 68 |nder(sec|tion) th|
|00005080| 65 6e 0d 56 69 65 77 46 | 69 6c 65 53 75 62 74 6f |en.ViewF|ileSubto|
|00005090| 70 69 63 20 73 65 63 74 | 69 6f 6e 2c 74 6f 70 69 |pic sect|ion,topi|
|000050a0| 63 2c 73 75 62 74 6f 70 | 69 63 0d 0d 65 6c 73 65 |c,subtop|ic..else|
|000050b0| 20 69 66 20 63 61 72 64 | 45 78 69 73 74 73 28 73 | if card|Exists(s|
|000050c0| 75 62 74 6f 70 69 63 2c | 53 75 62 74 6f 70 69 63 |ubtopic,|Subtopic|
|000050d0| 42 67 28 73 65 63 74 69 | 6f 6e 29 29 20 74 68 65 |Bg(secti|on)) the|
|000050e0| 6e 0d 56 69 65 77 53 75 | 62 74 6f 70 69 63 20 73 |n.ViewSu|btopic s|
|000050f0| 65 63 74 69 6f 6e 2c 74 | 6f 70 69 63 2c 73 75 62 |ection,t|opic,sub|
|00005100| 74 6f 70 69 63 0d 0d 65 | 6c 73 65 0d 4e 65 77 53 |topic..e|lse.NewS|
|00005110| 75 62 74 6f 70 69 63 20 | 73 65 63 74 69 6f 6e 2c |ubtopic |section,|
|00005120| 74 6f 70 69 63 2c 73 75 | 62 74 6f 70 69 63 0d 65 |topic,su|btopic.e|
|00005130| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005140| 20 4d 6f 75 73 65 55 70 | 4f 6e 53 75 62 74 6f 70 | MouseUp|OnSubtop|
|00005150| 69 63 0d 0d 2d 2d 0d 0d | 6f 6e 20 4d 6f 75 73 65 |ic..--..|on Mouse|
|00005160| 55 70 4f 6e 53 75 62 74 | 6f 70 69 63 42 74 6e 0d |UpOnSubt|opicBtn.|
|00005170| 67 65 74 20 74 68 65 20 | 63 6c 69 63 6b 4c 6f 63 |get the |clickLoc|
|00005180| 0d 61 64 64 20 33 32 20 | 74 6f 20 69 74 65 6d 20 |.add 32 |to item |
|00005190| 31 20 6f 66 20 69 74 0d | 63 6c 69 63 6b 20 61 74 |1 of it.|click at|
|000051a0| 20 69 74 0d 65 6e 64 20 | 4d 6f 75 73 65 55 70 4f | it.end |MouseUpO|
|000051b0| 6e 53 75 62 74 6f 70 69 | 63 42 74 6e 0d 0d 2d 2d |nSubtopi|cBtn..--|
|000051c0| 0d 0d 6f 6e 20 53 68 6f | 77 53 75 62 54 6f 70 69 |..on Sho|wSubTopi|
|000051d0| 63 73 20 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |cs secti|on,topic|
|000051e0| 0d 2d 2d 20 73 68 6f 77 | 20 61 20 6c 69 73 74 20 |.-- show| a list |
|000051f0| 6f 66 20 73 75 62 74 6f | 70 69 63 73 0d 0d 2d 2d |of subto|pics..--|
|00005200| 20 64 69 73 70 6c 61 79 | 20 74 68 65 6d 0d 70 75 | display| them.pu|
|00005210| 74 20 74 6f 70 69 63 20 | 69 6e 74 6f 20 62 67 20 |t topic |into bg |
|00005220| 66 69 65 6c 64 20 22 4e | 61 6d 65 20 4f 66 20 54 |field "N|ame Of T|
|00005230| 6f 70 69 63 22 0d 70 75 | 74 20 53 75 62 74 6f 70 |opic".pu|t Subtop|
|00005240| 69 63 73 28 73 65 63 74 | 69 6f 6e 2c 74 6f 70 69 |ics(sect|ion,topi|
|00005250| 63 29 20 69 6e 74 6f 20 | 6c 69 73 74 0d 55 70 64 |c) into |list.Upd|
|00005260| 61 74 65 53 75 62 74 6f | 70 69 63 49 63 6f 6e 73 |ateSubto|picIcons|
|00005270| 20 73 65 63 74 69 6f 6e | 2c 74 6f 70 69 63 2c 6c | section|,topic,l|
|00005280| 69 73 74 0d 70 75 74 20 | 6c 69 73 74 20 69 6e 74 |ist.put |list int|
|00005290| 6f 20 62 67 20 66 69 65 | 6c 64 20 22 53 75 62 74 |o bg fie|ld "Subt|
|000052a0| 6f 70 69 63 73 22 0d 65 | 6e 64 20 53 68 6f 77 53 |opics".e|nd ShowS|
|000052b0| 75 62 54 6f 70 69 63 73 | 0d 0d 2d 2d 0d 0d 6f 6e |ubTopics|..--..on|
|000052c0| 20 53 68 6f 77 46 69 6c | 65 53 75 62 54 6f 70 69 | ShowFil|eSubTopi|
|000052d0| 63 73 20 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |cs secti|on,topic|
|000052e0| 0d 2d 2d 20 73 68 6f 77 | 20 61 20 6c 69 73 74 20 |.-- show| a list |
|000052f0| 6f 66 20 73 75 62 74 6f | 70 69 63 73 0d 0d 70 75 |of subto|pics..pu|
|00005300| 74 20 62 67 20 66 69 65 | 6c 64 20 22 54 6f 70 69 |t bg fie|ld "Topi|
|00005310| 63 20 4e 75 6d 62 65 72 | 22 20 69 6e 74 6f 20 74 |c Number|" into t|
|00005320| 4e 75 6d 0d 46 69 6c 65 | 55 74 69 6c 73 20 22 66 |Num.File|Utils "f|
|00005330| 69 6c 65 73 22 2c 54 6f | 70 69 63 46 6f 6c 64 65 |iles",To|picFolde|
|00005340| 72 28 73 65 63 74 69 6f | 6e 2c 74 6f 70 69 63 2c |r(sectio|n,topic,|
|00005350| 74 4e 75 6d 29 0d 70 75 | 74 20 74 68 65 20 72 65 |tNum).pu|t the re|
|00005360| 73 75 6c 74 20 69 6e 74 | 6f 20 73 75 62 74 6f 70 |sult int|o subtop|
|00005370| 69 63 73 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ics.repe|at with |
|00005380| 6e 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |n = 1 to| the num|
|00005390| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000053a0| 73 75 62 74 6f 70 69 63 | 73 0d 64 65 6c 65 74 65 |subtopic|s.delete|
|000053b0| 20 77 6f 72 64 20 31 20 | 6f 66 20 6c 69 6e 65 20 | word 1 |of line |
|000053c0| 6e 20 6f 66 20 73 75 62 | 74 6f 70 69 63 73 0d 65 |n of sub|topics.e|
|000053d0| 6e 64 20 72 65 70 65 61 | 74 0d 0d 2d 2d 20 64 69 |nd repea|t..-- di|
|000053e0| 73 70 6c 61 79 20 74 68 | 65 6d 0d 70 75 74 20 74 |splay th|em.put t|
|000053f0| 6f 70 69 63 20 69 6e 74 | 6f 20 62 67 20 66 69 65 |opic int|o bg fie|
|00005400| 6c 64 20 22 4e 61 6d 65 | 20 4f 66 20 54 6f 70 69 |ld "Name| Of Topi|
|00005410| 63 22 0d 55 70 64 61 74 | 65 53 75 62 74 6f 70 69 |c".Updat|eSubtopi|
|00005420| 63 49 63 6f 6e 73 20 73 | 65 63 74 69 6f 6e 2c 74 |cIcons s|ection,t|
|00005430| 6f 70 69 63 2c 73 75 62 | 74 6f 70 69 63 73 0d 70 |opic,sub|topics.p|
|00005440| 75 74 20 73 75 62 74 6f | 70 69 63 73 20 69 6e 74 |ut subto|pics int|
|00005450| 6f 20 62 67 20 66 69 65 | 6c 64 20 22 53 75 62 74 |o bg fie|ld "Subt|
|00005460| 6f 70 69 63 73 22 0d 65 | 6e 64 20 53 68 6f 77 46 |opics".e|nd ShowF|
|00005470| 69 6c 65 53 75 62 54 6f | 70 69 63 73 0d 0d 2d 2d |ileSubTo|pics..--|
|00005480| 0d 0d 6f 6e 20 45 64 69 | 74 53 75 62 74 6f 70 69 |..on Edi|tSubtopi|
|00005490| 63 73 20 73 65 63 74 69 | 6f 6e 2c 74 6f 70 69 63 |cs secti|on,topic|
|000054a0| 0d 47 6f 4e 61 6d 65 64 | 43 61 72 64 20 74 6f 70 |.GoNamed|Card top|
|000054b0| 69 63 2c 54 6f 70 69 63 | 42 67 28 73 65 63 74 69 |ic,Topic|Bg(secti|
|000054c0| 6f 6e 29 0d 65 6e 64 20 | 45 64 69 74 53 75 62 74 |on).end |EditSubt|
|000054d0| 6f 70 69 63 73 0d 0d 2d | 2d 0d 0d 6f 6e 20 56 69 |opics..-|-..on Vi|
|000054e0| 65 77 53 75 62 74 6f 70 | 69 63 20 73 65 63 74 69 |ewSubtop|ic secti|
|000054f0| 6f 6e 2c 74 6f 70 69 63 | 2c 73 75 62 74 6f 70 69 |on,topic|,subtopi|
|00005500| 63 0d 2d 2d 20 67 6f 20 | 74 6f 20 61 20 73 75 62 |c.-- go |to a sub|
|00005510| 74 6f 70 69 63 20 63 61 | 72 64 0d 0d 70 75 74 20 |topic ca|rd..put |
|00005520| 62 67 20 66 69 65 6c 64 | 20 22 54 6f 70 69 63 20 |bg field| "Topic |
|00005530| 4e 75 6d 62 65 72 22 20 | 69 6e 74 6f 20 74 4e 75 |Number" |into tNu|
|00005540| 6d 0d 70 75 74 20 62 67 | 20 66 69 65 6c 64 20 22 |m.put bg| field "|
|00005550| 53 75 62 74 6f 70 69 63 | 20 4e 75 6d 62 65 72 22 |Subtopic| Number"|
|00005560| 20 69 6e 74 6f 20 73 4e | 75 6d 0d 69 66 20 6e 6f | into sN|um.if no|
|00005570| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00005580| 62 67 20 62 74 6e 20 22 | 4e 6f 20 54 69 63 6b 73 |bg btn "|No Ticks|
|00005590| 22 20 74 68 65 6e 0d 4d | 61 72 6b 53 75 62 74 6f |" then.M|arkSubto|
|000055a0| 70 69 63 44 6f 6e 65 20 | 74 4e 75 6d 2c 73 4e 75 |picDone |tNum,sNu|
|000055b0| 6d 0d 65 6e 64 20 69 66 | 0d 0d 47 6f 4e 61 6d 65 |m.end if|..GoName|
|000055c0| 64 43 61 72 64 20 73 75 | 62 74 6f 70 69 63 2c 53 |dCard su|btopic,S|
|000055d0| 75 62 74 6f 70 69 63 42 | 67 28 73 65 63 74 69 6f |ubtopicB|g(sectio|
|000055e0| 6e 29 0d 70 75 74 20 74 | 6f 70 69 63 20 69 6e 74 |n).put t|opic int|
|000055f0| 6f 20 62 67 20 66 69 65 | 6c 64 20 22 54 6f 70 69 |o bg fie|ld "Topi|
|00005600| 63 22 0d 65 6e 64 20 56 | 69 65 77 53 75 62 74 6f |c".end V|iewSubto|
|00005610| 70 69 63 0d 0d 2d 2d 0d | 0d 6f 6e 20 56 69 65 77 |pic..--.|.on View|
|00005620| 46 69 6c 65 53 75 62 74 | 6f 70 69 63 20 73 65 63 |FileSubt|opic sec|
|00005630| 74 69 6f 6e 2c 74 6f 70 | 69 63 2c 73 75 62 74 6f |tion,top|ic,subto|
|00005640| 70 69 63 0d 2d 2d 20 76 | 69 65 77 20 61 20 73 75 |pic.-- v|iew a su|
|00005650| 62 74 6f 70 69 63 20 6d | 6f 76 69 65 20 66 69 6c |btopic m|ovie fil|
|00005660| 65 0d 0d 70 75 74 20 62 | 67 20 66 69 65 6c 64 20 |e..put b|g field |
|00005670| 22 54 6f 70 69 63 20 4e | 75 6d 62 65 72 22 20 69 |"Topic N|umber" i|
|00005680| 6e 74 6f 20 74 4e 75 6d | 0d 70 75 74 20 62 67 20 |nto tNum|.put bg |
|00005690| 66 69 65 6c 64 20 22 53 | 75 62 74 6f 70 69 63 20 |field "S|ubtopic |
|000056a0| 4e 75 6d 62 65 72 22 20 | 69 6e 74 6f 20 73 4e 75 |Number" |into sNu|
|000056b0| 6d 0d 4d 61 72 6b 53 75 | 62 74 6f 70 69 63 44 6f |m.MarkSu|btopicDo|
|000056c0| 6e 65 20 74 4e 75 6d 2c | 73 4e 75 6d 0d 0d 4f 70 |ne tNum,|sNum..Op|
|000056d0| 65 6e 4d 6f 76 69 65 20 | 73 65 63 74 69 6f 6e 2c |enMovie |section,|
|000056e0| 74 6f 70 69 63 2c 73 75 | 62 74 6f 70 69 63 2c 74 |topic,su|btopic,t|
|000056f0| 4e 75 6d 2c 73 4e 75 6d | 0d 65 6e 64 20 56 69 65 |Num,sNum|.end Vie|
|00005700| 77 46 69 6c 65 53 75 62 | 74 6f 70 69 63 0d 0d 2d |wFileSub|topic..-|
|00005710| 2d 0d 0d 6f 6e 20 4d 61 | 72 6b 53 75 62 74 6f 70 |-..on Ma|rkSubtop|
|00005720| 69 63 44 6f 6e 65 20 74 | 4e 75 6d 2c 73 4e 75 6d |icDone t|Num,sNum|
|00005730| 0d 70 75 74 20 62 67 20 | 66 69 65 6c 64 20 22 44 |.put bg |field "D|
|00005740| 6f 6e 65 22 20 69 6e 74 | 6f 20 64 6f 6e 65 0d 73 |one" int|o done.s|
|00005750| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00005760| 67 20 62 74 6e 20 28 22 | 53 75 62 74 6f 70 69 63 |g btn ("|Subtopic|
|00005770| 22 20 26 26 20 73 4e 75 | 6d 29 20 74 6f 20 22 66 |" && sNu|m) to "f|
|00005780| 69 6e 69 73 68 65 64 22 | 0d 70 75 74 20 74 72 75 |inished"|.put tru|
|00005790| 65 20 69 6e 74 6f 20 69 | 74 65 6d 20 73 4e 75 6d |e into i|tem sNum|
|000057a0| 2b 32 20 6f 66 20 6c 69 | 6e 65 20 74 4e 75 6d 20 |+2 of li|ne tNum |
|000057b0| 6f 66 20 64 6f 6e 65 0d | 61 64 64 20 31 20 74 6f |of done.|add 1 to|
|000057c0| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|000057d0| 74 4e 75 6d 20 6f 66 20 | 64 6f 6e 65 0d 70 75 74 |tNum of |done.put|
|000057e0| 20 64 6f 6e 65 20 69 6e | 74 6f 20 62 67 20 66 69 | done in|to bg fi|
|000057f0| 65 6c 64 20 22 44 6f 6e | 65 22 0d 0d 55 70 64 61 |eld "Don|e"..Upda|
|00005800| 74 65 54 6f 70 69 63 49 | 63 6f 6e 20 74 4e 75 6d |teTopicI|con tNum|
|00005810| 2c 64 6f 6e 65 0d 65 6e | 64 20 4d 61 72 6b 53 75 |,done.en|d MarkSu|
|00005820| 62 74 6f 70 69 63 44 6f | 6e 65 0d 0d 2d 2d 0d 0d |btopicDo|ne..--..|
|00005830| 6f 6e 20 55 70 64 61 74 | 65 54 6f 70 69 63 49 63 |on Updat|eTopicIc|
|00005840| 6f 6e 20 74 4e 75 6d 2c | 64 6f 6e 65 0d 67 65 74 |on tNum,|done.get|
|00005850| 20 6c 69 6e 65 20 74 4e | 75 6d 20 6f 66 20 64 6f | line tN|um of do|
|00005860| 6e 65 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |ne.put i|tem 1 of|
|00005870| 20 69 74 20 69 6e 74 6f | 20 6e 53 75 62 74 6f 70 | it into| nSubtop|
|00005880| 69 63 73 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f |ics.put |item 2 o|
|00005890| 66 20 69 74 20 69 6e 74 | 6f 20 6e 44 6f 6e 65 0d |f it int|o nDone.|
|000058a0| 0d 69 66 20 6e 53 75 62 | 74 6f 70 69 63 73 20 3d |.if nSub|topics =|
|000058b0| 20 6e 44 6f 6e 65 20 74 | 68 65 6e 0d 70 75 74 20 | nDone t|hen.put |
|000058c0| 22 66 69 6e 69 73 68 65 | 64 22 20 69 6e 74 6f 20 |"finishe|d" into |
|000058d0| 69 63 6f 6e 4e 61 6d 65 | 0d 65 6c 73 65 20 69 66 |iconName|.else if|
|000058e0| 20 6e 44 6f 6e 65 20 3e | 20 30 20 74 68 65 6e 0d | nDone >| 0 then.|
|000058f0| 70 75 74 20 22 75 6e 66 | 69 6e 69 73 68 65 64 22 |put "unf|inished"|
|00005900| 20 69 6e 74 6f 20 69 63 | 6f 6e 4e 61 6d 65 0d 65 | into ic|onName.e|
|00005910| 6c 73 65 0d 70 75 74 20 | 22 75 6e 74 6f 75 63 68 |lse.put |"untouch|
|00005920| 65 64 22 20 69 6e 74 6f | 20 69 63 6f 6e 4e 61 6d |ed" into| iconNam|
|00005930| 65 0d 65 6e 64 20 69 66 | 0d 0d 73 65 74 20 74 68 |e.end if|..set th|
|00005940| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00005950| 20 28 22 54 6f 70 69 63 | 22 20 26 26 20 74 4e 75 | ("Topic|" && tNu|
|00005960| 6d 29 20 74 6f 20 69 63 | 6f 6e 4e 61 6d 65 0d 65 |m) to ic|onName.e|
|00005970| 6e 64 20 55 70 64 61 74 | 65 54 6f 70 69 63 49 63 |nd Updat|eTopicIc|
|00005980| 6f 6e 0d 0d 2d 2d 0d 0d | 6f 6e 20 4e 65 77 53 75 |on..--..|on NewSu|
|00005990| 62 74 6f 70 69 63 20 73 | 65 63 74 69 6f 6e 2c 74 |btopic s|ection,t|
|000059a0| 6f 70 69 63 2c 73 75 62 | 74 6f 70 69 63 0d 2d 2d |opic,sub|topic.--|
|000059b0| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 73 75 | create |a new su|
|000059c0| 62 74 6f 70 69 63 20 63 | 61 72 64 2c 20 74 68 65 |btopic c|ard, the|
|000059d0| 6e 20 67 6f 20 74 6f 20 | 69 74 0d 0d 67 65 74 20 |n go to |it..get |
|000059e0| 22 54 68 65 72 65 20 69 | 73 20 6e 6f 20 63 61 72 |"There i|s no car|
|000059f0| 64 20 63 61 6c 6c 65 64 | 20 d2 22 20 26 20 73 75 |d called| ." & su|
|00005a00| 62 74 6f 70 69 63 20 26 | 20 22 d3 2e 22 20 26 20 |btopic &| ".." & |
|00005a10| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 0d |return &| return.|
|00005a20| 70 75 74 20 22 43 72 65 | 61 74 65 20 61 20 6e 65 |put "Cre|ate a ne|
|00005a30| 77 20 6f 6e 65 3f 22 20 | 61 66 74 65 72 20 69 74 |w one?" |after it|
|00005a40| 0d 0d 61 6e 73 77 65 72 | 20 69 74 20 77 69 74 68 |..answer| it with|
|00005a50| 20 22 43 61 6e 63 65 6c | 22 20 6f 72 20 22 4f 4b | "Cancel|" or "OK|
|00005a60| 22 0d 0d 69 66 20 69 74 | 20 69 73 20 22 4f 4b 22 |"..if it| is "OK"|
|00005a70| 20 74 68 65 6e 0d 67 6f | 20 62 67 20 53 75 62 74 | then.go| bg Subt|
|00005a80| 6f 70 69 63 42 67 28 73 | 65 63 74 69 6f 6e 29 0d |opicBg(s|ection).|
|00005a90| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 4d 65 73 73 |set the |lockMess|
|00005aa0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 44 6f 4d |ages to |true.DoM|
|00005ab0| 65 6e 75 20 22 4e 65 77 | 20 43 61 72 64 22 0d 70 |enu "New| Card".p|
|00005ac0| 75 74 20 73 75 62 74 6f | 70 69 63 20 69 6e 74 6f |ut subto|pic into|
|00005ad0| 20 62 67 20 66 69 65 6c | 64 20 22 53 75 62 74 6f | bg fiel|d "Subto|
|00005ae0| 70 69 63 22 0d 70 75 74 | 20 74 6f 70 69 63 20 69 |pic".put| topic i|
|00005af0| 6e 74 6f 20 62 67 20 66 | 69 65 6c 64 20 22 54 6f |nto bg f|ield "To|
|00005b00| 70 69 63 22 0d 73 65 6e | 64 20 4e 61 6d 65 43 61 |pic".sen|d NameCa|
|00005b10| 72 64 20 74 6f 20 62 67 | 20 66 69 65 6c 64 20 22 |rd to bg| field "|
|00005b20| 53 75 62 74 6f 70 69 63 | 22 0d 73 65 74 20 74 68 |Subtopic|".set th|
|00005b30| 65 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |e lockMe|ssages t|
|00005b40| 6f 20 66 61 6c 73 65 0d | 6f 70 65 6e 42 61 63 6b |o false.|openBack|
|00005b50| 67 72 6f 75 6e 64 0d 6f | 70 65 6e 43 61 72 64 0d |ground.o|penCard.|
|00005b60| 65 6e 64 20 69 66 0d 65 | 6e 64 20 4e 65 77 53 75 |end if.e|nd NewSu|
|00005b70| 62 74 6f 70 69 63 0d 0d | 2d 2d 0d 0d 6f 6e 20 46 |btopic..|--..on F|
|00005b80| 69 6e 69 73 68 45 64 69 | 74 69 6e 67 54 6f 70 69 |inishEdi|tingTopi|
|00005b90| 63 20 73 65 63 74 69 6f | 6e 2c 74 6f 70 69 63 0d |c sectio|n,topic.|
|00005ba0| 67 6f 20 62 67 20 53 65 | 63 74 69 6f 6e 42 67 28 |go bg Se|ctionBg(|
|00005bb0| 73 65 63 74 69 6f 6e 29 | 0d 53 68 6f 77 53 75 62 |section)|.ShowSub|
|00005bc0| 74 6f 70 69 63 73 20 73 | 65 63 74 69 6f 6e 2c 74 |topics s|ection,t|
|00005bd0| 6f 70 69 63 0d 73 65 6e | 64 20 63 6f 6c 6f 72 4d |opic.sen|d colorM|
|00005be0| 65 20 74 6f 20 74 68 69 | 73 20 62 67 0d 65 6e 64 |e to thi|s bg.end|
|00005bf0| 20 46 69 6e 69 73 68 45 | 64 69 74 69 6e 67 54 6f | FinishE|ditingTo|
|00005c00| 70 69 63 0d 0d 2d 2d 0d | 0d 6f 6e 20 55 70 64 61 |pic..--.|.on Upda|
|00005c10| 74 65 54 6f 70 69 63 49 | 63 6f 6e 73 0d 70 75 74 |teTopicI|cons.put|
|00005c20| 20 62 67 20 66 69 65 6c | 64 20 22 44 6f 6e 65 22 | bg fiel|d "Done"|
|00005c30| 20 69 6e 74 6f 20 64 6f | 6e 65 0d 67 65 74 20 74 | into do|ne.get t|
|00005c40| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00005c50| 65 73 20 69 6e 20 62 67 | 20 66 69 65 6c 64 20 22 |es in bg| field "|
|00005c60| 54 6f 70 69 63 73 22 0d | 0d 72 65 70 65 61 74 20 |Topics".|.repeat |
|00005c70| 77 69 74 68 20 6e 20 3d | 20 31 20 74 6f 20 69 74 |with n =| 1 to it|
|00005c80| 0d 55 70 64 61 74 65 54 | 6f 70 69 63 49 63 6f 6e |.UpdateT|opicIcon|
|00005c90| 20 6e 2c 64 6f 6e 65 0d | 65 6e 64 20 72 65 70 65 | n,done.|end repe|
|00005ca0| 61 74 0d 65 6e 64 20 55 | 70 64 61 74 65 54 6f 70 |at.end U|pdateTop|
|00005cb0| 69 63 49 63 6f 6e 73 0d | 0d 2d 2d 0d 0d 6f 6e 20 |icIcons.|.--..on |
|00005cc0| 55 70 64 61 74 65 53 75 | 62 74 6f 70 69 63 49 63 |UpdateSu|btopicIc|
|00005cd0| 6f 6e 73 20 73 65 63 74 | 69 6f 6e 2c 74 6f 70 69 |ons sect|ion,topi|
|00005ce0| 63 2c 6c 69 73 74 0d 70 | 75 74 20 53 75 62 74 6f |c,list.p|ut Subto|
|00005cf0| 70 69 63 42 67 28 73 65 | 63 74 69 6f 6e 29 20 69 |picBg(se|ction) i|
|00005d00| 6e 74 6f 20 62 4e 61 6d | 65 0d 69 66 20 74 68 65 |nto bNam|e.if the|
|00005d10| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 67 20 62 74 | hilite |of bg bt|
|00005d20| 6e 20 22 4e 6f 20 54 69 | 63 6b 73 22 20 74 68 65 |n "No Ti|cks" the|
|00005d30| 6e 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 6e 54 6f |n.put 0 |into nTo|
|00005d40| 70 69 63 73 0d 65 6c 73 | 65 0d 70 75 74 20 74 68 |pics.els|e.put th|
|00005d50| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00005d60| 73 20 69 6e 20 6c 69 73 | 74 20 69 6e 74 6f 20 6e |s in lis|t into n|
|00005d70| 54 6f 70 69 63 73 0d 70 | 75 74 20 62 67 20 66 69 |Topics.p|ut bg fi|
|00005d80| 65 6c 64 20 22 54 6f 70 | 69 63 20 4e 75 6d 62 65 |eld "Top|ic Numbe|
|00005d90| 72 22 20 69 6e 74 6f 20 | 74 4e 75 6d 62 65 72 0d |r" into |tNumber.|
|00005da0| 70 75 74 20 6c 69 6e 65 | 20 74 4e 75 6d 62 65 72 |put line| tNumber|
|00005db0| 20 6f 66 20 62 67 20 66 | 69 65 6c 64 20 22 44 6f | of bg f|ield "Do|
|00005dc0| 6e 65 22 20 69 6e 74 6f | 20 74 44 6f 6e 65 0d 64 |ne" into| tDone.d|
|00005dd0| 65 6c 65 74 65 20 69 74 | 65 6d 20 31 20 74 6f 20 |elete it|em 1 to |
|00005de0| 32 20 6f 66 20 74 44 6f | 6e 65 0d 70 75 74 20 54 |2 of tDo|ne.put T|
|00005df0| 6f 70 69 63 73 46 72 6f | 6d 46 69 6e 64 65 72 28 |opicsFro|mFinder(|
|00005e00| 73 65 63 74 69 6f 6e 29 | 20 69 6e 74 6f 20 69 73 |section)| into is|
|00005e10| 41 46 69 6c 65 0d 0d 2d | 2d 20 73 65 74 20 75 70 |AFile..-|- set up|
|00005e20| 20 75 73 65 64 20 62 75 | 74 74 6f 6e 73 2c 20 61 | used bu|ttons, a|
|00005e30| 6e 64 20 6d 61 72 6b 20 | 6e 6f 6e 2d 65 78 69 73 |nd mark |non-exis|
|00005e40| 74 61 6e 74 20 63 61 72 | 64 73 0d 72 65 70 65 61 |tant car|ds.repea|
|00005e50| 74 20 77 69 74 68 20 6e | 20 3d 20 31 20 74 6f 20 |t with n| = 1 to |
|00005e60| 6e 54 6f 70 69 63 73 0d | 70 75 74 20 6c 69 6e 65 |nTopics.|put line|
|00005e70| 20 6e 20 6f 66 20 6c 69 | 73 74 20 69 6e 74 6f 20 | n of li|st into |
|00005e80| 73 75 62 74 6f 70 69 63 | 0d 0d 67 65 74 20 22 53 |subtopic|..get "S|
|00005e90| 75 62 74 6f 70 69 63 22 | 20 26 26 20 6e 0d 69 66 |ubtopic"| && n.if|
|00005ea0| 20 63 61 72 64 45 78 69 | 73 74 73 28 73 75 62 74 | cardExi|sts(subt|
|00005eb0| 6f 70 69 63 2c 62 4e 61 | 6d 65 29 20 6f 72 20 69 |opic,bNa|me) or i|
|00005ec0| 73 41 46 69 6c 65 20 74 | 68 65 6e 0d 69 66 20 69 |sAFile t|hen.if i|
|00005ed0| 74 65 6d 20 6e 20 6f 66 | 20 74 44 6f 6e 65 20 69 |tem n of| tDone i|
|00005ee0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 74 |s empty |then.set|
|00005ef0| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 67 20 | the ico|n of bg |
|00005f00| 62 74 6e 20 69 74 20 74 | 6f 20 22 75 6e 74 6f 75 |btn it t|o "untou|
|00005f10| 63 68 65 64 22 0d 65 6c | 73 65 0d 73 65 74 20 74 |ched".el|se.set t|
|00005f20| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 67 20 62 74 |he icon |of bg bt|
|00005f30| 6e 20 69 74 20 74 6f 20 | 22 66 69 6e 69 73 68 65 |n it to |"finishe|
|00005f40| 64 22 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 73 |d".end i|f.else.s|
|00005f50| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00005f60| 67 20 62 74 6e 20 69 74 | 20 74 6f 20 22 6e 6f 20 |g btn it| to "no |
|00005f70| 63 61 72 64 22 0d 65 6e | 64 20 69 66 0d 0d 73 68 |card".en|d if..sh|
|00005f80| 6f 77 20 62 67 20 62 74 | 6e 20 69 74 0d 65 6e 64 |ow bg bt|n it.end|
|00005f90| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 0d | repeat.|end if..|
|00005fa0| 2d 2d 20 68 69 64 65 20 | 75 6e 75 73 65 64 20 62 |-- hide |unused b|
|00005fb0| 75 74 74 6f 6e 73 0d 72 | 65 70 65 61 74 20 77 69 |uttons.r|epeat wi|
|00005fc0| 74 68 20 6e 20 3d 20 6e | 54 6f 70 69 63 73 2b 31 |th n = n|Topics+1|
|00005fd0| 20 74 6f 20 31 36 0d 67 | 65 74 20 22 53 75 62 74 | to 16.g|et "Subt|
|00005fe0| 6f 70 69 63 22 20 26 26 | 20 6e 0d 69 66 20 74 68 |opic" &&| n.if th|
|00005ff0| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 67 20 |e visibl|e of bg |
|00006000| 62 74 6e 20 69 74 20 74 | 68 65 6e 0d 68 69 64 65 |btn it t|hen.hide|
|00006010| 20 62 67 20 62 74 6e 20 | 69 74 0d 65 6c 73 65 0d | bg btn |it.else.|
|00006020| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00006030| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |if.end r|epeat.en|
|00006040| 64 20 55 70 64 61 74 65 | 53 75 62 74 6f 70 69 63 |d Update|Subtopic|
|00006050| 49 63 6f 6e 73 0d 0d 2d | 2d 0d 0d 6f 6e 20 52 65 |Icons..-|-..on Re|
|00006060| 62 75 69 6c 64 54 6f 70 | 69 63 4c 69 73 74 20 73 |buildTop|icList s|
|00006070| 65 63 74 69 6f 6e 2c 62 | 74 6e 73 0d 69 66 20 74 |ection,b|tns.if t|
|00006080| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|00006090| 64 6f 77 6e 20 74 68 65 | 6e 0d 69 66 20 54 6f 70 |down the|n.if Top|
|000060a0| 69 63 73 46 72 6f 6d 46 | 69 6e 64 65 72 28 73 65 |icsFromF|inder(se|
|000060b0| 63 74 69 6f 6e 29 20 74 | 68 65 6e 0d 42 75 69 6c |ction) t|hen.Buil|
|000060c0| 64 54 6f 70 69 63 73 46 | 72 6f 6d 46 6f 6c 64 65 |dTopicsF|romFolde|
|000060d0| 72 73 20 73 65 63 74 69 | 6f 6e 2c 62 74 6e 73 0d |rs secti|on,btns.|
|000060e0| 65 6c 73 65 0d 42 75 69 | 6c 64 54 6f 70 69 63 73 |else.Bui|ldTopics|
|000060f0| 46 72 6f 6d 46 69 65 6c | 64 73 20 73 65 63 74 69 |FromFiel|ds secti|
|00006100| 6f 6e 2c 62 74 6e 73 0d | 65 6e 64 20 69 66 0d 0d |on,btns.|end if..|
|00006110| 69 66 20 62 74 6e 73 20 | 74 68 65 6e 0d 70 75 74 |if btns |then.put|
|00006120| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00006130| 69 6e 65 73 20 69 6e 20 | 62 67 20 66 69 65 6c 64 |ines in |bg field|
|00006140| 20 22 54 6f 70 69 63 73 | 22 20 69 6e 74 6f 20 6e | "Topics|" into n|
|00006150| 54 6f 70 69 63 73 0d 65 | 6c 73 65 0d 70 75 74 20 |Topics.e|lse.put |
|00006160| 30 20 69 6e 74 6f 20 6e | 54 6f 70 69 63 73 0d 65 |0 into n|Topics.e|
|00006170| 6e 64 20 69 66 0d 0d 72 | 65 70 65 61 74 20 77 69 |nd if..r|epeat wi|
|00006180| 74 68 20 6e 20 3d 20 31 | 20 74 6f 20 6e 54 6f 70 |th n = 1| to nTop|
|00006190| 69 63 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ics.set |cursor t|
|000061a0| 6f 20 62 75 73 79 0d 67 | 65 74 20 22 54 6f 70 69 |o busy.g|et "Topi|
|000061b0| 63 22 20 26 26 20 6e 0d | 73 68 6f 77 20 62 67 20 |c" && n.|show bg |
|000061c0| 62 74 6e 20 69 74 0d 65 | 6e 64 20 72 65 70 65 61 |btn it.e|nd repea|
|000061d0| 74 0d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6e |t..repea|t with n|
|000061e0| 20 3d 20 6e 54 6f 70 69 | 63 73 2b 31 20 74 6f 20 | = nTopi|cs+1 to |
|000061f0| 31 36 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |16.set c|ursor to|
|00006200| 20 62 75 73 79 0d 67 65 | 74 20 22 54 6f 70 69 63 | busy.ge|t "Topic|
|00006210| 22 20 26 26 20 6e 0d 68 | 69 64 65 20 62 67 20 62 |" && n.h|ide bg b|
|00006220| 74 6e 20 69 74 0d 65 6e | 64 20 72 65 70 65 61 74 |tn it.en|d repeat|
|00006230| 0d 65 6c 73 65 0d 70 75 | 74 20 62 67 20 66 69 65 |.else.pu|t bg fie|
|00006240| 6c 64 20 22 44 6f 6e 65 | 22 20 69 6e 74 6f 20 64 |ld "Done|" into d|
|00006250| 6f 6e 65 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |one.repe|at with |
|00006260| 6e 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |n = 1 to| the num|
|00006270| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00006280| 64 6f 6e 65 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |done.set| cursor |
|00006290| 74 6f 20 62 75 73 79 0d | 67 65 74 20 69 74 65 6d |to busy.|get item|
|000062a0| 20 31 20 6f 66 20 6c 69 | 6e 65 20 6e 20 6f 66 20 | 1 of li|ne n of |
|000062b0| 64 6f 6e 65 0d 70 75 74 | 20 69 74 20 26 20 22 2c |done.put| it & ",|
|000062c0| 30 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 6e 20 6f |0" into |line n o|
|000062d0| 66 20 64 6f 6e 65 0d 65 | 6e 64 20 72 65 70 65 61 |f done.e|nd repea|
|000062e0| 74 0d 70 75 74 20 64 6f | 6e 65 20 69 6e 74 6f 20 |t.put do|ne into |
|000062f0| 62 67 20 66 69 65 6c 64 | 20 22 44 6f 6e 65 22 0d |bg field| "Done".|
|00006300| 65 6e 64 20 69 66 0d 0d | 55 70 64 61 74 65 54 6f |end if..|UpdateTo|
|00006310| 70 69 63 49 63 6f 6e 73 | 0d 0d 63 6c 69 63 6b 20 |picIcons|..click |
|00006320| 61 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |at the t|opLeft o|
|00006330| 66 20 62 67 20 66 69 65 | 6c 64 20 22 54 6f 70 69 |f bg fie|ld "Topi|
|00006340| 63 73 22 0d 65 6e 64 20 | 52 65 62 75 69 6c 64 54 |cs".end |RebuildT|
|00006350| 6f 70 69 63 4c 69 73 74 | 0d 0d 2d 2d 0d 0d 6f 6e |opicList|..--..on|
|00006360| 20 42 75 69 6c 64 54 6f | 70 69 63 73 46 72 6f 6d | BuildTo|picsFrom|
|00006370| 46 69 65 6c 64 73 20 73 | 65 63 74 69 6f 6e 2c 62 |Fields s|ection,b|
|00006380| 74 6e 73 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |tns.put |empty in|
|00006390| 74 6f 20 54 6f 70 69 63 | 73 0d 70 75 74 20 65 6d |to Topic|s.put em|
|000063a0| 70 74 79 20 69 6e 74 6f | 20 44 6f 6e 65 0d 0d 70 |pty into| Done..p|
|000063b0| 75 74 20 54 6f 70 69 63 | 42 67 28 73 65 63 74 69 |ut Topic|Bg(secti|
|000063c0| 6f 6e 29 20 69 6e 74 6f | 20 62 4e 61 6d 65 0d 0d |on) into| bName..|
|000063d0| 72 65 70 65 61 74 20 77 | 69 74 68 20 6e 20 3d 20 |repeat w|ith n = |
|000063e0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000063f0| 6f 66 20 63 61 72 64 73 | 20 69 6e 20 62 67 20 62 |of cards| in bg b|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.